http://www.perlmonks.org?node_id=372298


in reply to Re^2: Help with Regex
in thread Help with Regex

I agree. Even if it's your own html and you know what to expect. It is never worth it and it will bite back eventually.
Since I started using HTML::TokeParser I've never looked back. I use it even on "the simplest HTML". Why go to all that effort when others (who know what they're doing) already have?
The best advice I've seen in regex tutorials is "don't roll your own html parser".
wfsp