further improve submatch extraction

This commit is contained in:
Kyryl Melekhin
2021-09-02 16:36:19 +00:00
parent 695f6b1f56
commit 67c691f95b
2 changed files with 33 additions and 16 deletions

View File

@@ -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)