in reply to parsing a multi-line pattern and replacing

I'm having trouble matching over more than one line. What's wrong?

How do I match XML, HTML, or other nasty, ugly things with a regex?

XML::Twig

  • Comment on Re: parsing a multi-line pattern and replacing