in reply to Special Variables in Regular Expression

The much simpler way's probably going to involve using a real XML parser (see XML::Twig or XML::Simple) rather than trying to kludge something together with regexen.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: Special Variables in Regular Expression