http://qs321.pair.com?node_id=11116482


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!