never mind, just plain regex \[ \. On Wednesday, December 18, 2019 at 2:38:52 AM UTC+1, Gert wrote: > > > https://go-review.googlesource.com/c/go/+/201857/7/src/cmd/go/testdata/script/doc.txt > > go test cmd/go -run=Script/^doc$ > > I guess this fails because of a dot located in the pattern 'go doc > <sym>[.<methodOrField>]' > > How do you escape it? >
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2b31b085-664d-432d-991f-0570d1ba0eff%40googlegroups.com.