From 89a43c8f41be56e8fee442b47331f42f97ea0706 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sun, 27 Oct 2024 15:30:46 -0400 Subject: [PATCH] Added test case --- re_test.go | 1 + 1 file changed, 1 insertion(+) 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) {