Lines Matching full:regexp
19 "regexp"
341 re := regexp.MustCompile(match)
416 // doGrepCount counts the number of times a regexp is seen in a buffer.
421 re := regexp.MustCompile(match)
431 // grepCountStdout returns the number of times a regexp is seen in
437 // grepCountStderr returns the number of times a regexp is seen in
443 // grepCountBoth returns the number of times a regexp is seen in both
639 tg.grepStderr("^"+regexp.QuoteMeta(shortPath)+":", "missing file:line in error message")
830 if !regexp.MustCompile(match).Match(out) {
1130 tg.grepStderr(regexp.QuoteMeta(quoted), "go get -u error does not mention shadow/root1/src/foo")
1374 if tg.grepCountBoth(regexp.QuoteMeta(filepath.Join("foo", "quxx"))+` \(from \$GOROOT\)$`) != 1 {
1397 if tg.grepCountBoth(regexp.QuoteMeta(filepath.Join("testdata", "a", "src", "foo", "quxx"))+` \(from \$GOPATH\)$`) != 1 {
1409 if tg.grepCountBoth(regexp.QuoteMeta(filepath.Join("testdata", "b", "src", "foo", "quxx"))+`$`) != 1 {
1668 if regexp.MustCompile(`[^0-9]0\.0%`).MatchString(data) {
1680 tg.run("test", "-short", "-coverpkg=strings", "strings", "regexp")
1682 tg.run("test", "-short", "-cover", "strings", "math", "regexp")
1869 // cmd/go: go test -a foo does not rebuild regexp.
1879 tg.grepStderr("regexp", "go test -x -a -c testdata/dep-test.go did not rebuild regexp")