in reply to Regex - it works, but not the way i want it to =(

As others have pointed out before, parsing Perl with a few simple regexes is nearly impossible.

Another hilighter that you could use is PPI::HTML.

  • Comment on Re: Regex - it works, but not the way i want it to =(