Backtracking control -- tokens
Consider:
"182745909809283949 minus 4" ~~ / \d+ ' plus ' \d+ /
Backtracking the first \d+ can be very inefficient
continued...| Parrot | Perl 6 regexes | #20 |
Consider:
"182745909809283949 minus 4" ~~ / \d+ ' plus ' \d+ /
Backtracking the first \d+ can be very inefficient
continued...|
Copyright © 2009 http://www.pmichaud.com/2009/pres/ |