An endless loop could only be a result of infinitely repeating matches not of the opposite.
I said it *thinks* it hasn't matched yet. A reasonable belief when pos == 0.
In reply to Re^3: [bugs?] perldoc perlre, \G and pos()
by ikegami
in thread [bugs?] perldoc perlre, \G and pos()
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |