This is a great case for the \K assertion.
I have never heard of \K and can't find it in perlre. Is this a very new feature?
In reply to Re^2: positive look behind regexp mystery (\K assertion)
by rovf
in thread positive look behind regexp mystery
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |