4 ms·
So what you're saying is I could use this to parse HTML?
by NextHendrix 5y ago
So what you're saying is I could use this to parse HTML?
- ktpsns 5y agoWho said that regexes could not be used to properly parse HTML? ;-)
- colejohnson66 5y agoParsing HTML can be done with a state machine. That’s how HTML5 defines how to parse it: https://html.spec.whatwg.org/multipage/syntax.html#syntax https://html.spec.whatwg.org/multipage/syntax.html#syntax