From 8155ff545201f478626a89011f2f8eb2e32923a2 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Fri, 17 Jun 2011 16:41:59 +1000 Subject: [PATCH] go/build: use back quotes for regular expression R=adg CC=golang-dev https://golang.org/cl/4643045 --- src/pkg/go/build/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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