Skip to content

Commit 67c15eb

Browse files
committed
Add some tests for RT #107254.
1 parent 45ed99f commit 67c15eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/qregex/rx_captures

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,9 @@ $1=[ (.) (.) (.) ] (.) abcdefg <mob[5]: d @ 3> perl5 numbered captures $1
6060
$<key>=<alpha> 12ab34 <mob<key>: a @ 2> alias capture
6161
<key=alpha> 12ab34 <mob<key>: a @ 2> alias capture
6262

63+
:s $<w1>=(\w+) $<w2>=(\w+)? $<w3>=(\w+)? one two three <mob<w3>[0]: three @ 8> RT #107254
64+
:s $<w1>=(\w+) $<w2>=(\w+)? $<w3>=(\w+)? one two three <mob<w2>[0]: two @ 4> RT #107254
65+
:s $<w1>=(\w+) $<w2>=(\w+)? $<w3>=(\w+)? one two <mob<w2>[0]: two @ 4> RT #107254
66+
:s :r $<w1>=(\w+) $<w2>=(\w+)? $<w3>=(\w+)? one two <mob<w2>[0]: two @ 4> RT #107254
67+
6368
## vim: noexpandtab tabstop=4 shiftwidth=4

0 commit comments

Comments
 (0)