further improve submatch extraction
This commit is contained in:
3
test.sh
3
test.sh
@@ -91,6 +91,7 @@ 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]+)\\\\>
|
||||
[-+]?\\\\<(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_])|(\\\\\$([^\$]+)\\\\\$)
|
||||
@@ -197,6 +198,7 @@ world
|
||||
0x663q
|
||||
x37247
|
||||
124435.7727ULL
|
||||
str + len - 1;
|
||||
jjdfjk sjdjjsqwerty jdfjdfhhdhfdjjjfj jjjdf
|
||||
$\"}, /* email */
|
||||
$\"}, /* email */$
|
||||
@@ -303,6 +305,7 @@ expect="\
|
||||
-nomatch-
|
||||
-nomatch-
|
||||
(2,16)(2,16)
|
||||
(12,13)(12,13)(12,13)(12,13)
|
||||
(14,44)
|
||||
(9,14)(9,14)(?,?)(?,?)
|
||||
(0,18)(?,?)(0,18)(1,17)
|
||||
|
||||
Reference in New Issue
Block a user