From 5c2869ff8192a349628d98052ae6643a8c200968 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sat, 25 Jan 2025 13:09:29 -0500 Subject: [PATCH] Updated test case --- re_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re_test.go b/re_test.go index 60dcc21..6730a04 100644 --- a/re_test.go +++ b/re_test.go @@ -297,7 +297,7 @@ var groupTests = []struct { {`(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)(l)\071`, nil, `abcdefghijkl9`, []Match{[]Group{{0, 13}, {0, 1}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {9, 10}, {10, 11}, {11, 12}}}}, {`()ef`, nil, `def`, []Match{[]Group{{1, 3}, {1, 1}}}}, {`(?:)ef`, nil, `def`, []Match{[]Group{{1, 3}}}}, - {`(?:)`, nil, `def`, []Match{[]Group{{0, 0}}, []Group{{1, 1}}, []Group{{2, 2}}}}, + {`(?:)`, nil, `def`, []Match{[]Group{{0, 0}}, []Group{{1, 1}}, []Group{{2, 2}}, []Group{{3, 3}}}}, } func TestFindAllMatches(t *testing.T) {