Point is that a failed partial match might move the pos forward, but if the condition fails pos won't be changed before trying the next or-alternative.
rsfalse might provide/link an example.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: How to enforce match priority irrespective of string position
by LanX
in thread How to enforce match priority irrespective of string position
by Polyglot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |