Permalink
Browse files

niecza un/fudge

  • Loading branch information...
coke committed Dec 6, 2011
1 parent 4b1a35c commit 751e709a9eaceff7938a274eb4136364c44f7a9f
Showing with 1 addition and 1 deletion.
  1. +0 −1 S05-match/non-capturing.t
  2. +1 −0 S05-metasyntax/repeat.t
@@ -18,7 +18,6 @@ my $str = "abbbbbbbbc";
ok($str ~~ m{a(b+)c}, 'Matched 1');
ok($/, 'Saved 1');
is($/, $str, 'Grabbed all 1');
-#?niecza todo
is($/[0], substr($str,1,*-1), 'Correctly captured 1');
ok($str ~~ m{a[b+]c}, 'Matched 2');
View
@@ -48,6 +48,7 @@ eval_dies_ok('"foo" ~~ m/o{1,3}/', 'P5-style {1,3} range mistake is caught');
eval_dies_ok('"foo" ~~ m/o{1,}/', 'P5-style {1,} range mistake is caught');
is(~('foo,bar,baz,' ~~ m/[<alpha>+]+ % ','/), 'foo,bar,baz', '% with a term worked');
+#?niecza todo '#80'
is(~('foo,bar,baz,' ~~ m/[<alpha>+]+ %% ','/), 'foo,bar,baz,', '%% with a term worked');
is(~('foo, bar,' ~~ m/[<alpha>+]+ % [','\s*]/), 'foo, bar', '% with a more complex term');

0 comments on commit 751e709

Please sign in to comment.