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
|