Skip to content

Commit b07bc9e

Browse files
committed
[qregex]: Add some tests for <( and )> .
1 parent 66edbf6 commit b07bc9e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

t/qregex/rx_metachars

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ c>> abc-def y right word boundary, end of word
2929
def>> abc-def y right word boundary, EOS
3030
>> ------- n right word boundary, no word chars
3131

32+
abc <( def abcdefghi <def @ 3> from <( marker
33+
abc <( def abcde n from <( marker in failed match
34+
abc )> def abcdefghi <abc @ 0> to )> marker
35+
abc <( \d+ )> def abc123def <123 @ 3> from <( and to >)
36+
abc <( \d+ def abc456def <456def @ 3> from <( only
37+
abc \d+ )> def abc789def <abc789 @ 0> to )> only
38+
abc <( def || ..... abc123def <abc12 @ 0> backtracked from <(
39+
abc <( \d+ <( def abc123def <def @ 6> multiple <('s
40+
3241
c \n d abc\ndef y logical newline (\n)
3342
# todo :pugs<feature>
3443
c \n d abc\rdef y logical newline matches \r

0 commit comments

Comments
 (0)