Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: A line of code matches the question

by Anonymous Monk
on Aug 10, 2017 at 16:25 UTC ( [id://1197190]=note: print w/replies, xml ) Need Help??


in reply to Re^2: A line of code matches the question
in thread A line of code matches the question

You should NOT USE REGULAR EXPRESSIONS to parse HTML. Just don't do it. If you have a good-enough solution that uses two regular expressions, you should NOT try to combine it into one regular expression. Regexes are bad at parsing structured data like HTML, and rapidly become incomprehensible and unmaintainable when you try.
  • Comment on Re^3: A line of code matches the question

Replies are listed 'Best First'.
Re^4: A line of code matches the question
by *2 (Novice) on Aug 10, 2017 at 16:48 UTC
    I am also a headache for those very long expressions, if you can, then I also like to change the problem simple. Thank you for your suggestion!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found