StackOverflow Cthulu

StackOverflow Cthulu

You can’t parse [X]HTML with regex. Because HTML can’t be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. HTML is not a regular language and hence cannot be parsed by regular expressions. Regex queries are not equipped to break down HTML into its meaningful parts. so many times but it is not getting to me. Even enhanced irregular regular expressions as used by Perl are not up to the task of parsing HTML. You will never make me crack. HTML is a language of sufficient complexity that it cannot be parsed by regular expressions. Even Jon Skeet cannot parse HTML using regular expressions. Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and regex go together like love, marriage, and ritual infanticide. The center cannot hold it is too late. The force of regex and HTML together in the same conceptual space will destroy your mind like so much watery putty. If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed…

StackOverflow Cthulu

2 thoughts on “StackOverflow Cthulu”

  1. Following you now…..Can I share your profound parsing poetry? My local IT group would quite enjoy it…On a side note, Airik – formerly of KCPS, is now in charge of Compliance for the Texas Education Agency…not sure how that’s going to work out. This Texas girl says, again: Shame on you Texas….again.

    1. Please – post the whole thing anywhere coders lurk…

      And, yes, I did hear Airick formally changed his name and moved to the Dallas area for that job; no idea how he’ll do, but if past (local) experience is any indication he’ll stay a few years and then take another (better paying) job elsewhere.

      Same as it ever was…

Something to say...?