Thanks for pointing that out! The output from use re qw/debug/; makes a lot more sense now that I realize what was happening.
However, using \1 to force matches to fail seems problematic at best, as the string could be repetitive and thus succeed and stop prematurely. A contradiction (eg [^\D\d]) would preclude this possiblity, but are there any implications of such a contradiction beyond this usage?
In reply to Re^2: Global Regex sans //g
by eibwen
in thread Global Regex sans //g
by eibwen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |