diff --git a/src/pkg/go/build/build.go b/src/pkg/go/build/build.go index d880746fe4..585489279f 100644 --- a/src/pkg/go/build/build.go +++ b/src/pkg/go/build/build.go @@ -348,7 +348,7 @@ func (b *build) gccArgs(args ...string) []string { return append(a, args...) } -var cgoRe = regexp.MustCompile("[/\\:]") +var cgoRe = regexp.MustCompile(`[/\\:]`) func (b *build) cgo(cgofiles []string) (outGo, outObj []string) { // cgo