We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007a6b7 commit 32590b6Copy full SHA for 32590b6
S05-match/non-capturing.t
@@ -19,7 +19,7 @@ ok($str ~~ m{a(b+)c}, 'Matched 1');
19
ok($/, 'Saved 1');
20
is($/, $str, 'Grabbed all 1');
21
#?niecza todo
22
-is($/[0], substr($str,1,-1), 'Correctly captured 1');
+is($/[0], substr($str,1,*-1), 'Correctly captured 1');
23
24
ok($str ~~ m{a[b+]c}, 'Matched 2');
25
ok($/, 'Saved 2');
0 commit comments