HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by NextHendrix | Hacker News Reader
Full thread
NextHendrix
·
So what you're saying is I could use this to parse HTML?
View on HN
colejohnson66
·
Parsing 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
ktpsns
·
Who said that regexes could not be used to properly parse HTML? ;-)
Reply on news.ycombinator.com