Doh. Of course. I knew that the print returning 1 failed the match, but i didn't put two and two together to realize that was why all of the chars were printed. And I've used this technique deliberately before too. /gah.
Thanks for the clue-by-four. :-)
In reply to Re^3: Dynamic regex assertions, capturing groups, and parsers: joy and terror
by demerphq
in thread Dynamic regex assertions, capturing groups, and parsers: joy and terror
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |