MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ytfw5/parsing_html_using_regular_expressions/dmr298h/?context=3
r/ProgrammerHumor • u/[deleted] • Sep 08 '17
377 comments sorted by
View all comments
Show parent comment
1
I think correct, well-formed HTML is context free, but I vaguely remember seeing argument that the horrible, malformed HTML that exists on the real web can't be parsed with a CFG, so it requires at least a CSG.
View all comments
Show parent comment
1
u/link23 Sep 08 '17
I think correct, well-formed HTML is context free, but I vaguely remember seeing argument that the horrible, malformed HTML that exists on the real web can't be parsed with a CFG, so it requires at least a CSG.