A bare demo of detecting syntactically invalid HTML, created for jridgewell/proposal-regexp-atomic-and-possessive#1.
It's a proposal for the +
quantifier modifier for ECMAScript regular expressions.
Currently only properly detects invalid ending tags, and is only about having the correct syntax.