From e8aca8606ab4cbc8dbc11182e5f3ffb415017013 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sun, 3 Nov 2024 15:09:21 -0500 Subject: [PATCH] Added test cases --- re_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/re_test.go b/re_test.go index 1c04fec..f667e82 100644 --- a/re_test.go +++ b/re_test.go @@ -104,6 +104,7 @@ var reTests = []struct { {`\d{3,4}`, "1209", []matchIndex{{0, 4}}}, {`\d{3,4}`, "109", []matchIndex{{0, 3}}}, {`\d{3,4}`, "5", []matchIndex{}}, + {`\d{3,4}`, "123135", []matchIndex{{0, 4}}}, {`\d{3,4}`, "89a-0", []matchIndex{}}, {`\d{3,4}`, "ababab555", []matchIndex{{6, 9}}}, {`\bpaint\b`, "paints", []matchIndex{}},