Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Why a regex *really* isn't good enough for HTML, even for "simple" tasks

by hippo (Bishop)
on May 05, 2020 at 14:04 UTC ( [id://11116482]=note: print w/replies, xml ) Need Help??


in reply to Why a regex *really* isn't good enough for HTML and XML, even for "simple" tasks

Just for fun, here's a low-level solution using vanilla HTML::Parser.

  • Comment on Re: Why a regex *really* isn't good enough for HTML, even for "simple" tasks
  • Download Code

Replies are listed 'Best First'.
Re^2: Why a regex *really* isn't good enough for HTML, even for "simple" tasks
by haukex (Archbishop) on May 08, 2020 at 07:14 UTC

    Thank you! I've added a slightly modified version to the Gist!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-18 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found