diff --git a/re_test.go b/re_test.go index 4b5e2a7..72a39c8 100644 --- a/re_test.go +++ b/re_test.go @@ -29,6 +29,7 @@ var reTests = []struct { {"a*", "", []matchIndex{{0, 0}}}, {"a|b", "c", []matchIndex{}}, {"(a|b)*c", "aabbc", []matchIndex{{0, 5}}}, + {"a*", "aaaaaaaa", []matchIndex{{0, 8}, {8, 8}}}, } func TestFindAllMatches(t *testing.T) {