From b92912f7e4a10dd377f8fc537f4f8239005a5be8 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sun, 27 Oct 2024 14:56:07 -0400 Subject: [PATCH] Added test --- re_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/re_test.go b/re_test.go index 7419bd9..22fd168 100644 --- a/re_test.go +++ b/re_test.go @@ -24,6 +24,7 @@ var reTests = []struct { {"(abc)*|(def)*", "abcdef", []matchIndex{{0, 3}, {3, 3}, {3, 6}, {6, 6}}}, {"b*a*a", "bba", []matchIndex{{0, 3}}}, {"(ab)+", "abcabddd", []matchIndex{{0, 2}, {3, 5}}}, + {"a(b(c|d)*)*", "abccbd", []matchIndex{{0, 6}}}, } func TestFindAllMatches(t *testing.T) {