POV-Ray : Newsgroups : povray.off-topic : sed question : Re: sed question Server Time
6 Sep 2024 17:19:49 EDT (-0400)
  Re: sed question  
From: triple r
Date: 17 Nov 2008 11:10:00
Message: <web.49219626e31b5110866b6f750@news.povray.org>
"Jim Holsenback" <jho### [at] hotmailcom> wrote:
> "nemesis" <nam### [at] gmailcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.