in reply to How to make substitute greedy like sed's substitute

  1. 30MB is not huge.
  2. Do not, repeat, do not, repeat, DO NOT attempt to parse XML with regexps!

Do yourself a favor and use a XML parser. The task at hand sounds perfect for XML::Rules, but XML::Twig would also work great.

Jenda
Enoch was right!
Enjoy the last years of Rome.

  • Comment on Re: How to make substitute greedy like sed's substitute