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 yo
On Wed, Oct 20, 1999 at 10:56:12AM +0100, Oliver Elphick wrote:
> Shao Zhang wrote:
> >Hi,
> > I have very limited reg exp knowledge, but I need this badly...
> >
> > Could someone tell me how to write a sed script to replace the
> > following string?
> >
> > From string \text
Shao Zhang wrote:
>Hi,
> I have very limited reg exp knowledge, but I need this badly...
>
> Could someone tell me how to write a sed script to replace the
> following string?
>
> From string \textsc{Foo} to Foo
>
> Thanks for your help.
sed -e 's/\\textsc{\(.
Hi,
I have very limited reg exp knowledge, but I need this badly...
Could someone tell me how to write a sed script to replace the
following string?
From string \textsc{Foo} to Foo
Thanks for your help.
Shao.
--
_
4 matches
Mail list logo