Author: pmichaud Date: Tue Apr 3 19:59:42 2007 New Revision: 17970 Modified: trunk/t/compilers/pge/perl6regex/rx_backtrack
Log: [pge]: * Fold in pugs updates to rx_backtrack Modified: trunk/t/compilers/pge/perl6regex/rx_backtrack ============================================================================== --- trunk/t/compilers/pge/perl6regex/rx_backtrack (original) +++ trunk/t/compilers/pge/perl6regex/rx_backtrack Tue Apr 3 19:59:42 2007 @@ -1,5 +1,8 @@ +## Backtracking control tests a* a bazaar y control -a*:a bazaar n basic +# todo :pge<adverbs before backtrack(?)> +a*:a bazaar /:a/ basic +a*: a bazaar n basic ^[a|b]* aba abbabbababba y control ^[a|b]*: aba abbabbababba n outside a group \d+: 123abc y cut on character class shortcut @@ -7,16 +10,21 @@ [ if not | ify ] verify y control [ if :: not | ify ] verify n inside a group if :: not | ify verify n the default all group +# todo :pugs<feature> [ if : not | ify ] verify y simple backtrack still works +# todo :pugs<feature> [ if :: not | ify ] | verify verify y rule continues [ when ever ] | whence whence y full backtrack failure [ when ::: ever ] | whence whence n full backtrack failure +# todo :pugs<feature> ab::cd | gh::ij xyabghij y group cut at top ab:::cd | gh:::ij xyabghij n rule cut at top +# todo :pugs<feature> [ab::cd | gh::ij] xyabghij y group cut in group [ab:::cd | gh:::ij] xyabghij n rule cut in group [ ab | abc ]: de xyzabcde n no backtrack into group ( ab | abc ): de xyzabcde n no backtrack into subpattern +# todo :pugs<feature> [ when <commit> ever ] | whence whence n full backtrack failure :ratchet a* a bazaar n ratchet modifier
