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{}},