mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
exp/regexp: add MustCompilePOSIX
R=r CC=golang-dev https://golang.org/cl/4962060
This commit is contained in:
parent
21e671dee6
commit
66b3fabf17
2 changed files with 21 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue