in reply to Re: Re: Substitute problem
in thread Substitute problem
Right. Sort of:)
(?<! ) is the negative look-behind assertion construct. You put the bit that you want to trigger failure in the gap, but it must be a simple, fixed width expression. You can't use a variable width thing in there.
See perlre. Section Extended patterns for more information. (Theres actually not much more info there. See perlretut. Section "Looking ahead and looking behind" which does.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Substitute problem
by Anonymous Monk on Jul 30, 2003 at 21:42 UTC |