fix regressions on a[^b]*c cases
This commit is contained in:
12
test.sh
12
test.sh
@@ -92,6 +92,10 @@ abc\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
[-+]?\\\\<(0[xX][0-9a-fA-FUL]+|[0-9.]{1,}[0-9eEfFuULl]+|[0-9]+)\\\\>
|
||||
qwerty.*$
|
||||
([a-zA-Z0-9_][^1]*[a-zA-Z0-9_])|(\\\\\$([^\$]+)\\\\\$)
|
||||
([a-zA-Z0-9_][^1]*[a-zA-Z0-9_])|(\\\\\$([^\$]+)\\\\\$)
|
||||
(h[^1]*b)|(\\\\\$([^\$]+)\\\\\$)
|
||||
(h[^1]*b)|(\\\\\$([^\$]+)\\\\\$)
|
||||
"
|
||||
input="\
|
||||
abcdef
|
||||
@@ -185,6 +189,10 @@ world
|
||||
x37247
|
||||
124435.7727ULL
|
||||
jjdfjk sjdjjsqwerty jdfjdfhhdhfdjjjfj jjjdf
|
||||
$\"}, /* email */
|
||||
$\"}, /* email */$
|
||||
$ hbbbb
|
||||
$ hsdhs $
|
||||
"
|
||||
expect="\
|
||||
(0,3)
|
||||
@@ -278,6 +286,10 @@ expect="\
|
||||
-nomatch-
|
||||
(2,16)(2,16)
|
||||
(14,44)
|
||||
(9,14)(9,14)(?,?)(?,?)
|
||||
(0,18)(?,?)(0,18)(1,17)
|
||||
(3,8)(3,8)(?,?)(?,?)
|
||||
(0,9)(?,?)(0,9)(1,8)
|
||||
(0,0)
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user