"Jim Holsenback" <jho### [at] hotmail com> wrote:
> "nemesis" <nam### [at] gmail com> wrote in message
> news:49218a97@news.povray.org...
> > damn! I don't have sed available right now and it's been quite some time
> > since I've raged on perl regexes... :P
>
> I'm closer ....
>
> with: sed s/'<indexentry '\(*\)*/'<-- <indexentry '/g
> <indexentry "This is a test">
I think unless you use a matching \1, you will only be able to make changes UP
TO the quoted part.
Frustrating, but useful. Very useful. Don't give up:
http://xkcd.com/208/
- Ricky
Post a reply to this message
|