According to Ilya Zakharevich:
Felix S. Gallo writes:
Note that those codes impose conditions on the following text, they do not
represent embedded codes (a la Ilya or WordPerfect). [...]
Yeah, this is a great thing. The unimportance of ordering is a big bonus.
Note that the same effect may be achieved with embedded metadata by
using lookahead.
(?=<b>)(?=<i>)
will match the boundary where italic and bold start - no matter what
the order is - due to semantic of skipping 0-width substrings.
Hey, that's clever.
Still doesn't address the maintaining-state (a.k.a. 'll') problem, though.
--
Chip Salzenberg - a.k.a. -
<chip(_at_)perlsupport(_dot_)com>
"... under cover of afternoon in the biggest car in the county?!" //MST3K