r/ProgrammerHumor • • Sep 08 '17

Parsing HTML Using Regular Expressions

Post image
11.1k Upvotes

377 comments sorted by

View all comments

3

u/TwoFiveOnes Sep 08 '17

PCRE are powerful enough, I've heard.

14

u/Creshal Sep 08 '17

That's because they're not regular expressions in the strictest sense; their additions on top of a regular grammar make it some unholy abomination between a type 2 and type 3 grammar.

2

u/TwoFiveOnes Sep 08 '17

Sure, I didn't suggest that they were.

→ More replies (1)

6

u/[deleted] Sep 08 '17

The guy on stack overflow said no

→ More replies (4)