3 ms·
The famous answer is wrong though, since the question is about tokenization of XHTML (not parsing into a tree) which is indeed possible using a regex. This is
by bazoom42 3y ago
The famous answer is wrong though, since the question is about tokenization of XHTML (not parsing into a tree) which is indeed possible using a regex.
This is why none of the condescending answers suggest a better way. There isn’t one.