exp/regexp: add MustCompilePOSIX

R=r
CC=golang-dev
https://golang.org/cl/4962060
This commit is contained in:
Russ Cox 2011-09-08 15:00:49 -04:00
parent 21e671dee6
commit 66b3fabf17
2 changed files with 21 additions and 2 deletions

View file

@ -351,7 +351,7 @@ func TestFowler(t *testing.T) {
}
}
var notab = MustCompile(`[^\t]+`)
var notab = MustCompilePOSIX(`[^\t]+`)
func testFowler(t *testing.T, file string) {
f, err := os.Open(file)