you still haven't looked at the code I posted. With pos==0 it doesn't match
I chose to explain why it matches endlessly. Will you stop telling me it doesn't match. I'm not interested in that case.
which is evidently a bug!
The bug is in your code. So what if Perl behaves oddly when provided with irrational inputs. Fix the bug in your code and it's a non-issue.
In reply to Re^9: [bugs?] perldoc perlre, \G and pos()
by ikegami
in thread [bugs?] perldoc perlre, \G and pos()
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |