aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/regexp/find_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/regexp/find_test.go')
-rw-r--r--libgo/go/regexp/find_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/regexp/find_test.go b/libgo/go/regexp/find_test.go
index 87c49b0..64c2239 100644
--- a/libgo/go/regexp/find_test.go
+++ b/libgo/go/regexp/find_test.go
@@ -97,6 +97,7 @@ var findTests = []FindTest{
{`\B`, "xx", build(1, 1, 1)},
{`\B`, "x y", nil},
{`\B`, "xx yy", build(2, 1, 1, 4, 4)},
+ {`(|a)*`, "aa", build(3, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2)},
// RE2 tests
{`[^\S\s]`, "abcd", nil},