Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fudge test about too greedy captures RT 125133
  • Loading branch information
FROGGS committed May 7, 2015
1 parent ae9c765 commit c719c99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S05-modifier/repetition-exhaustive.t
Expand Up @@ -17,9 +17,10 @@ how the C<$/> looks like with the C<:x($count)> modifier.
#L<S05/Modifiers/"With the new :ex">

my $str = "abbb";
regex rx { a b+ };
my regex rx { a b+ };

ok($str ~~ m:ex:x(2)/<rx>/, "Simple combination of :x(2) and :exhaustive");
#?rakudo todo 'exhaustive capture too greedy RT #125133'
is(~$/[0], "ab", 'First entry of prev. genenerated $/');
is(~$/[1], "abb", 'Second entry of prev. genenerated $/');
ok($str ~~ m:ex:x(3)/<rx>/, "Simple combination of :x(3) and :exhaustive");
Expand Down

0 comments on commit c719c99

Please sign in to comment.