8067 |
Failed: reference to non-existent subpattern at offset 4 |
Failed: reference to non-existent subpattern at offset 4 |
8068 |
|
|
8069 |
/^(a)\g/ |
/^(a)\g/ |
8070 |
Failed: \g is not followed by an (optionally braced) non-zero number at offset 4 |
Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4 |
8071 |
|
|
8072 |
/^(a)\g{0}/ |
/^(a)\g{0}/ |
8073 |
Failed: \g is not followed by an (optionally braced) non-zero number at offset 4 |
Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4 |
8074 |
|
|
8075 |
/^(a)\g{3/ |
/^(a)\g{3/ |
8076 |
Failed: \g is not followed by an (optionally braced) non-zero number at offset 4 |
Failed: \g is not followed by a braced name or an optionally braced non-zero number at offset 4 |
8077 |
|
|
8078 |
/^(a)\g{4a}/ |
/^(a)\g{4a}/ |
8079 |
Failed: \g is not followed by an (optionally braced) non-zero number at offset 4 |
Failed: reference to non-existent subpattern at offset 9 |
8080 |
|
|
8081 |
/^a.b/<lf> |
/^a.b/<lf> |
8082 |
a\rb |
a\rb |
8334 |
0: barbaz |
0: barbaz |
8335 |
1: foobar |
1: foobar |
8336 |
|
|
8337 |
|
/(?<A>tom|bon)-\k{A}/ |
8338 |
|
tom-tom |
8339 |
|
0: tom-tom |
8340 |
|
1: tom |
8341 |
|
bon-bon |
8342 |
|
0: bon-bon |
8343 |
|
1: bon |
8344 |
|
** Failers |
8345 |
|
No match |
8346 |
|
tom-bon |
8347 |
|
No match |
8348 |
|
|
8349 |
|
/(?<A>tom|bon)-\g{A}/ |
8350 |
|
tom-tom |
8351 |
|
0: tom-tom |
8352 |
|
1: tom |
8353 |
|
bon-bon |
8354 |
|
0: bon-bon |
8355 |
|
1: bon |
8356 |
|
|
8357 |
|
/\g{A/ |
8358 |
|
Failed: syntax error in subpattern name (missing terminator) at offset 4 |
8359 |
|
|
8360 |
/ End of testinput2 / |
/ End of testinput2 / |