in reply to Re^2: Global regexp
in thread Global regexp
Which is to be expected, because my approach never matches anything in the "real body" of the regular expression. If you want different behaviour of the regex engine, you can only achieve that by making it match different things, which will result in the match variables containing different values. If you want to keep the behaviour of $`, $& and $', then you will need to fiddle with pos. You haven't stated why you don't want to do that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Global regexp
by Anonymous Monk on Jun 17, 2008 at 12:24 UTC | |
by Corion (Patriarch) on Jun 17, 2008 at 12:29 UTC | |
by Anonymous Monk on Jun 18, 2008 at 04:43 UTC |