Added test case
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user