POV-Ray : Newsgroups : povray.off-topic : sed question : Re: sed question Server Time
6 Sep 2024 17:22:17 EDT (-0400)
  Re: sed question  
From: Nicolas Alvarez
Date: 17 Nov 2008 13:00:23
Message: <4921b136@news.povray.org>
Jim Holsenback wrote:
>  sed s\%'<indexentry*'%'<!-- <indexentry* -->'%g test.html

Note that matches "<indexentr" followed by zero or more 'y' characters :)
The asterisk is not a wildcard. It's a modifier for the previous character,
making it match 0-infinite times.


Post a reply to this message

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