in reply to Re^4: Match a pattern only if it is not within another pattern
in thread Match a pattern only if it is not within another pattern
Well, technically the OP does say "surrounded", ...
Actually not.
And the examples given do not indicate this possibility either.
Perhaps more important is that "reversible bracketing" doesn't really make much sense. Consider
foo < foo > foo < foo < foo > foo > foo < foo < foo > foo < foo > foo +> foo 123 |.....|.....| |.....| |.....| |.....|.....|.....| + 123 |.................| |............................. +|
Can you conceive of an application where this would make sense?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Match a pattern only if it is not within another pattern
by Transient (Hermit) on Aug 17, 2005 at 17:50 UTC |