handle {n,} repetition without blowing up codesize
This commit is contained in:
3
test.sh
3
test.sh
@@ -123,6 +123,7 @@ aaaaa(aa)aa(aa(a)a)?aa
|
||||
(\\\\$\\\\([a-zA-Z0-9_]+\\\\))|(([A-Za-z_%.]+):)
|
||||
.{5}
|
||||
.{10,15}
|
||||
(a(abc)+){3,}
|
||||
"
|
||||
input="\
|
||||
abcdef
|
||||
@@ -247,6 +248,7 @@ https://kyryl.tk/404
|
||||
OBJ = \$(SRC:.c=.o)
|
||||
рврыр
|
||||
рврырdhsjhh
|
||||
aabcabcaabcaabc
|
||||
"
|
||||
expect="\
|
||||
(0,3)
|
||||
@@ -371,6 +373,7 @@ expect="\
|
||||
(8,12)(?,?)(8,12)(8,11)
|
||||
(0,10)
|
||||
(0,16)
|
||||
(0,15)(11,15)(12,15)
|
||||
(0,0)
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user