The real enemy isn't regular expressions (or, for that matter, goto), but ignorance. The only crime being perpetrated is not knowing what the alternatives are.

So, while I may attempt to parse HTML using regular expressions in certain situations, I go in knowing that it's generally a bad idea.

https://blog.codinghorror.com/parsing-html-the-cthulhu-way/