Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: Help with Regex

by TomDLux (Vicar)
on Jul 07, 2004 at 03:33 UTC ( #372260=note: print w/ replies, xml ) Need Help??

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

Anything but the simplest HTML processing and you should be using HTML::Parser, not regex.


Comment on Re^2: Help with Regex
Replies are listed 'Best First'.
Re^3: Help with Regex
by wfsp (Abbot) on Jul 07, 2004 at 07:08 UTC
    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".

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://372260]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-05-06 18:49 GMT
Find Nodes?
    Voting Booth?