Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Another bunch of unfudges.
  • Loading branch information
jnthn committed Nov 20, 2011
1 parent 3f97578 commit 7dbc061
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions S05-mass/rx.t
Expand Up @@ -555,23 +555,18 @@ eval_dies_ok '/a[b}/', 'mismatched close';


#### c <before .d> abacad /mob: <c @ 3>/ one character and lookahead <before>
#?rakudo skip 'before'
ok ('abacad' ~~ /c <before .d>/) && matchcheck($/, q/mob: <c @ 3>/), 'one character and lookahead <before>';

#### .* <before .d> abacad /mob: <abac @ 0>/ multiple characters and lookahead <before>
#?rakudo skip 'before'
ok ('abacad' ~~ /.* <before .d>/) && matchcheck($/, q/mob: <abac @ 0>/), 'multiple characters and lookahead <before>';

#### .* <before .\<> abaca<d /mob: <abac @ 0>/ multiple characters and lookahead <before> with a \'<\'
#?rakudo skip 'before'
ok ('abaca<d' ~~ /.* <before .\<>/) && matchcheck($/, q/mob: <abac @ 0>/), 'multiple characters and lookahead <before> with a \'<\'';

#### .* <before \<> aba<ca<d /mob: <aba<ca @ 0>/ greedy any character and lookahead <before> with a \'<\'
#?rakudo skip 'before'
ok ('aba<ca<d' ~~ /.* <before \<>/) && matchcheck($/, q/mob: <aba<ca @ 0>/), 'greedy any character and lookahead <before> with a \'<\'';

#### .*? <before \<> aba<ca<d /mob: <aba @ 0>/ non-greedy any character and lookahead <before> with a \'<\'
#?rakudo skip 'before'
ok ('aba<ca<d' ~~ /.*? <before \<>/) && matchcheck($/, q/mob: <aba @ 0>/), 'non-greedy any character and lookahead <before> with a \'<\'';


Expand Down Expand Up @@ -828,38 +823,30 @@ eval_dies_ok '/|/', 'alternation (|) - literal must be escaped';

#### <[a..d]> & <[b..e]> c y conjunction (&)
#?pugs todo 'feature'
#?rakudo skip '& NYI'
ok 'c' ~~ /<[a..d]> & <[b..e]>/, 'conjunction (&)';

#### <[a..d]> & <[d..e]> c n conjunction (&)
#?rakudo skip '& NYI'
ok 'c' !~~ /<[a..d]> & <[d..e]>/, 'conjunction (&)';

#### <[a..b]> & <[b..e]> c n conjunction (&)
#?rakudo skip '& NYI'
ok 'c' !~~ /<[a..b]> & <[b..e]>/, 'conjunction (&)';

#### <[a..b]> & <[d..e]> c n conjunction (&)
#?rakudo skip '& NYI'
ok 'c' !~~ /<[a..b]> & <[d..e]>/, 'conjunction (&)';

#### <[a..d]>+ & <[b..e]>+ bcd y conjunction (&)
#?rakudo skip '& NYI'
#?pugs todo 'feature'
ok 'bcd' ~~ /<[a..d]>+ & <[b..e]>+/, 'conjunction (&)';

#### ^ [ <[a..d]>+ & <[b..e]>+ ] $ bcd y conjunction (&)
#?rakudo skip '& NYI'
#?pugs todo 'feature'
ok 'bcd' ~~ /^ [ <[a..d]>+ & <[b..e]>+ ] $/, 'conjunction (&)';

#### <[a..c]>+ & <[b..e]>+ bcd y conjunction (&)
#?rakudo skip '& NYI'
#?pugs todo 'feature'
ok 'bcd' ~~ /<[a..c]>+ & <[b..e]>+/, 'conjunction (&)';

#### <[a..d]>+ & <[c..e]>+ bcd y conjunction (&)
#?rakudo skip '& NYI'
#?pugs todo 'feature'
ok 'bcd' ~~ /<[a..d]>+ & <[c..e]>+/, 'conjunction (&)';

Expand Down

0 comments on commit 7dbc061

Please sign in to comment.