Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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.

--
TTTATCGGTCGTTATATAGATGTTTGCA


Comment on Re^2: Help with Regex
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".
    wfsp

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2014-09-30 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (378 votes), past polls