in reply to Re^2: [bugs?] perldoc perlre, \G and pos()
in thread [bugs?] perldoc perlre, \G and pos()

Like I said, GIGO. You're trying to make it start and end at pos -1

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.

  • Comment on Re^3: [bugs?] perldoc perlre, \G and pos()