in reply to Re^2: array manipulation with string
in thread array manipulation with string
jwkrahn's code is not doing a replacement because his pattern is inside a zero-width positive look-ahead assertion, i.e. it is in effect doing an insertion at a point in the string that is followed by the pattern because the item being substituted is zero-width.
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: array manipulation with string
by Bloodnok (Vicar) on Sep 24, 2009 at 11:58 UTC |