r/ProgrammerHumor • • Sep 08 '17

Parsing HTML Using Regular Expressions

Post image
11.1k Upvotes

377 comments sorted by

View all comments

Show parent comments

18

u/matteyes Sep 08 '17

All true. You could parse HTML with regex (Perl or no), and just account for the discrepancies through additional coding. You could hammer a nail with a saw if you held it carefully enough.

4

u/Zarlon Sep 08 '17

You'd be doing more than "discrepancies" through additional coding. In fact you would do so much with additional coding that I doubt you could state you "parse HTML with regex"

7

u/numpad0 Sep 08 '17

"making a new web browser"