E.L. Meijer \(Eric\) said:
> If `Foo' does contain `}' (like \textsc{\Foo{\Bar}}) then I don't know
> how to handle that.

IIRC, ORA's Mastering Regular Expressions has an example along these lines of
how to capture parentheses, with nesting both possible and respected, but
it's pretty ugly.  If you need this ability, just shout and I can look it up.

Reply via email to