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/0314701c-690b-48ee-80d4-63fa05c35f65%40googlegroups.com.