in reply to Re^2: Match a pattern only if it is not within another pattern
in thread Match a pattern only if it is not within another pattern
Caveat: doesn't work if you need to support nested bar/qux pairs, e.g. only replacing the first and last foo in: foo bar foo bar foo qux foo qux foo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Match a pattern only if it is not within another pattern
by Transient (Hermit) on Aug 16, 2005 at 19:56 UTC | |
|
Re^4: Match a pattern only if it is not within another pattern
by xdg (Monsignor) on Aug 16, 2005 at 20:04 UTC |