Added test case

master
Aadhavan Srinivasan 2 months ago
parent ae219f763a
commit 89a43c8f41

@ -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) {

Loading…
Cancel
Save