News for hackers. Stuff that matters.
Re:Htmlq: like jq, but for html by andybak on Tuesday September 07, 2021 @04:19AM (#28442320)
And the obligitory caveat from the comments:

> While arbitrary HTML with only a regex is impossible, it's sometimes appropriate to use them for parsing a limited, known set of HTML.

Re:Htmlq: like jq, but for html by hnbad on Tuesday September 07, 2021 @04:22AM (#28442348)
The emphasis here is on "known". The tool is general purpose (i.e. handling unknown HTML) so using regexes would be ill-advised.