Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: A few random questions from Learning Perl 3

by Anonymous Monk
on Jan 07, 2003 at 06:53 UTC ( [id://224878]=note: print w/replies, xml ) Need Help??


in reply to Re: A few random questions from Learning Perl 3
in thread A few random questions from Learning Perl 3

Geeee! at last I read all the way down to the bottom until I saw it. Indeed, TIMTOWTDI is the answer to the regex question. Shame on some of you other folk, who while accumulating perl wisdom seem to have forgotten the first lesson.

Replies are listed 'Best First'.
Re^3: A few random questions from Learning Perl 3
by Anonymous Monk on Dec 14, 2009 at 21:13 UTC

    There is more than one way to do it right, but there are lots of ways to do it wrong.

    Parsing HTML with regexes falls into the latter category.

    Using a regex can be one of the right ways to do it if you are parsing a pseudo-HTML format which is not allowed to have nesting beyond a very shallow depth in the portions you actually want to parse.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-29 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found