You absolutely can regex (some) html if you sanitize and maybe convert it beforehand.
Btw, why are parsers always built to support the whole thing and maybe throw an error on or just consume unsupported shenanigans? That’s how you get security vulnerabilities in picture formats. Instead of just picking the things you support and ignoring the rest.
Talking to my structural engineer friend about the way we build software makes him sad every time. And I’m not even talking about vibe coding. Yet.
http://www.stilldrinking.org/programming-sucks
You absolutely can regex (some) html if you sanitize and maybe convert it beforehand.
Btw, why are parsers always built to support the whole thing and maybe throw an error on or just consume unsupported shenanigans? That’s how you get security vulnerabilities in picture formats. Instead of just picking the things you support and ignoring the rest.
Did you tell him about fuzzers yet?