Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by hippo (Chancellor)
on May 05, 2020 at 14:04 UTC ( #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 (Bishop) 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
Node Status?
node history
Node Type: note [id://11116482]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2020-11-24 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?