Richard Lewis richardlewis@fastmail.co.uk wrote:
Richard Lewis wrote:
iDunno@sommitrealweird.co.uk said:
Hows about forgetting the regexp and using the right tool for the job?
Oh, yes. I should have said: I was only using sed to work out the regex, I need it for an XSLT transformation so unfortunately I don't have the luxury of neat little UNIX tools :-(
Ahh, there must be a neater way to do it than that in XSLT. With a quick google I get to: http://sources.redhat.com/ml/xsl-list/2001-12/msg00651.html
Which may be of interest to you.
Cheers,