r/ProgrammerHumor • • Sep 08 '17

Parsing HTML Using Regular Expressions

Post image
11k Upvotes

377 comments sorted by

View all comments

Show parent comment

2

u/Bainos Sep 08 '17

I used to have that stance. Then I realized that HTML does not need to be valid XML, and my world changed.

3

u/ACoderGirl Sep 08 '17

Meh. I bet the people who think that it's okay to start indicing arrays at 1, too!

2

u/Bainos Sep 08 '17

... I'm not a monster, you know.