in reply to Re^4: [bugs?] perldoc perlre, \G and pos()
in thread [bugs?] perldoc perlre, \G and pos()
1st Pass: It thinks it hasn't matched yet because pos == 0, so it matches, setting pos = 0.
2nd Pass: It thinks it hasn't matched yet because pos == 0, so it matches, setting pos = 0.
3rd Pass: It thinks it hasn't matched yet because pos == 0, so it matches, setting pos = 0.
...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: [bugs?] perldoc perlre, \G and pos()
by LanX (Saint) on Sep 29, 2009 at 15:35 UTC | |
by ikegami (Patriarch) on Sep 29, 2009 at 16:07 UTC | |
by LanX (Saint) on Sep 29, 2009 at 20:57 UTC | |
by ikegami (Patriarch) on Sep 29, 2009 at 23:36 UTC |