This post is locked to prevent inappropriate edits to its content. The post looks exactly as it is supposed to look - there are no problems with its content. Please do not flag it for our attention.
Don't listen to these guys. You actually can parse context-free grammars with regex if you break the task into smaller pieces. You can generate the correct pattern with a script that does each of these in order:
Solve the Halting Problem.
Square a circle (simulate the "ruler and compass" method for this).
Work out the Traveling Salesman Problem in O(log n). It needs to be fast or the generator will hang.
The pattern will be pretty big, so make sure you have an algorithm that losslessly compresses random data.
Almost there - just divide the whole thing by zero. Easy-peasy.
I haven't figured out the last part yet, but I know I'm getting close. My code keeps throwing CthulhuRlyehWgahnaglFhtagnExceptions lately, so I'm going to port it to VB 6 and use On Error Resume Next. I'll update with the code once I investigate this strange door that just opened in the wall. Hmm.
P.S. Pierre de Fermat also figured out how to do it, but the margin he was writing in wasn't big enough for the code.
Umm, I am even further out of the loop here -- what does ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ" mean?
The word "ZALGO" is used to refer to this kind of bizzare text with a whole bunch of modifier symbols on it. It originated as a comic on SomethingAwful.
At my first job I was writing a web based time management tool, you know, punch in/out, task tracking, etc. I was using Perl CGI. One of the guys working on some other project (the company was doing Y2K conversion for some Citibank European branches. Their Cosmos system was in some Basic version) walked past and spent a few minutes behind me staring at my screen while I worked on some regex things. He finally sighed and started throwing his arms around and yelling "we're busting out asses in the conversion while this kid is here drawing little ASCII houses!!!". Good times.
It's "preserved for historical reasons." There are several answers like that from several years ago, which "don't reflect current moderation guidelines" but are still "valuable to the community."
This post is locked to prevent inappropriate edits to its content. The post looks exactly as it is supposed to look - there are no problems with its content. Please do not flag it for our attention.
I mean, of course you can use regexes to recognize valid tag names like div etc. But trying to use regexes to recognize anything about the structure is doomed to fail, because regexes recognize regular languages. HTML is not a regular language (I think it's context sensitive, actually; not sure though), so it cannot be expressed by a regular expression.
In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be expressed using a regular expression, in the strict sense of the latter notion used in theoretical computer science (as opposed to many regular expressions engines provided by modern programming languages, which are augmented with features that allow recognition of languages that cannot be expressed by a classic regular expression).
Alternatively, a regular language can be defined as a language recognized by a finite automaton. The equivalence of regular expressions and finite automata is known as Kleene's theorem (after American mathematician Stephen Cole Kleene). In the Chomsky hierarchy, regular languages are defined to be the languages that are generated by Type-3 grammars (regular grammars).
Context-sensitive grammar
A context-sensitive grammar (CSG) is a formal grammar in which the left-hand sides and right-hand sides of any production rules may be surrounded by a context of terminal and nonterminal symbols. Context-sensitive grammars are more general than context-free grammars, in the sense that there are languages that can be described by CSG but not by context-free grammars. Context-sensitive grammars are less general (in the same sense) than unrestricted grammars. Thus, CSG are positioned between context-free and unrestricted grammars in the Chomsky hierarchy.
To be clear, it's impossible with pure regex because html is not regular. But you could combine regex with a regular programming language (that is, using regex as a tool, but not the only tool), since a typical programming language is akin to a Turing machine, which can parse any language (but not necessarily efficiently).
And some regex variants are actually capable of parsing more than just regular languages, thanks to extensions of regex. It's kinda an unreadable mess, though.
Mind you, even with a nice, proper parsing library, html is kinda a mess to parse due to the way it evolved. It's not very nicely defined and the reality is that if you wanted a working browser, you have to support a variety of technically invalid syntaxes.
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.
The joke is that HTML is too irregular to parse with regular expressions, and attempting to do so is like dividing by zero and pierces the fabric of our universe, creating a hole from which unspeakable horrors will pour forth and devour your soul.
The flaw here is that HTML is a Chomsky Type 2 grammar (context free grammar) and RegEx is a Chomsky Type 3 grammar (regular grammar). Since a Type 2 grammar is fundamentally more complex than a Type 3 grammar (see the Chomsky hierarchy), you can't possibly make this work. But many will try, some will claim success and others will find the fault and totally mess you up.
Basically HTML is capable of expressing more complicated structures than RegEx is capable of reading.
Given the information you had, it wasn't an entirely unreasonable conclusion to believe Zalgo was a corruption, and it's good not to throw scenarios out until you know they're wrong. You'll chase that bug forever.
I love that you're new enough to programming that in your mind there's a chance the black box of regex can somehow half process HTML and corrupt it with terrifying combining glyphs.
I'm not trying to mock you or anything, it's legitimately bringing a smile to my face. It's like when toddlers first interact with something new in the world.
I'm actually not new at all i'm just stuck in a very unchallenging field ;)
Also i was looking for more in the joke than there actually was.
But you're right i don't have enough knowledge in this field which led me to believe that this weird text has to be somehow connected with the fact that you can't parse HTML using RegEx. But i see now that those are in fact clear text symbols and not some kind of weird formatting.
HTML can't be parsed correctly using regular expressions because HTML is not a regular language. It's literally impossible. This is not obvious, so many coders find it out the hard way. It's a common meme in programming circles to equate the frustration of trying to solve an impossible or extremely obnoxious problem with the kind of raving, deranged insanity usually depicted in HP Lovecraft stories, which is what the corrupted text and the picture of the demon in the OP represents.
Pshaw. Everyone knows that you can't parse HTML with regex. But you can parse email addresses that are RFC-822 compliant up until 2007 (assuming your addresses don't have comments in them) by using the Email::Valid library from CPAN which relies on
I have a better strategy. Try and dns resolve everything from the end of the string to before the right most @ as a whole string. If it doesn't resolve throw an error. If it resolves to the equivalent of a localhost or your own public ip, throw an error.
If by this point we're ok just take everything before that rightmost @ symbol and fire an e-mail at it.
When I was a wee nipper right out of school, I got a temp job essentially human brute force testing a web frontend some company was writing to let people sign up to their insurance service. For some reason they'd attempted to implement email address validation in the web form.
I spent a happy couple of weeks pissing off the devs by scouring the RFC to work out the most unlikely looking, edge case, technically valid email addresses and sending bug reports to the devs like:
"Technically in most cases I should be able to add a tag to an email address using the + sign and it should recognise if the address without the + has already been registered."
"Technically both quotes and spaces are valid in email addresses so long as the space is quoted, so I should be able to use " "@test.com."
"Technically email addresses are case sensitive but you don't seem to be storing case on the backend, what gives?"
"Hey, your validation doesn't allow me to use an email with an IP address rather than a domain like test@[127.0.0.1], that's totally valid and lots of people use it, you should fix that."
"Hey, it's not letting me sign up with the perfectly valid and normally formatted email address very.“(),:;<>[]”.VERY.“very@\ "very”.unusual@strange.example.com, what's up with that? That's totally my friend's real email address and I know he's looking for insurance."
I done it many times too. Thing is, regex is great to identify some parts and work on them. But not to interpret all the HTML, anyway, how many times you need that? In practice you only need to parse a few things, and when things get too complex, just explode() the content into smaller parts to work them separately and BAM now regular expressions are simpler and do what you want
I'm sure there's some guy running a full fledged eBay clone from a single 386 out of his mom's basement. All because he managed to create some slick super optimised website in pure assembly. He doesn't need Ajax because his pages already load so fast. He doesn't need load balancing because he can handle 100K concurrent requests at minimum without breaking a sweat. He doesn't need air conditioning because a single request doesn't even register as a blip on his performance graph.
I'm still quite inexperienced with programming so could someone tell me why parsing html with regex is frowned upon? I'm writing a script that extracts links and other things from an rss-feed and I don't see what problem people have with this
It is impossible to properly handle every possible case. Not difficult, impossible. A regular expression can only parse regular languages (look it up, it has a very precise definition). HTML is not a regular language so it is mathematically impossible to properly parse.
A regex parser can handle certain simple cases, but I can always construct a correct piece of HTML code that your regex will not parse.
Everything is relatively easy when you have the right tool and know how to use it. I use PHP, Perl's little brother, and it's pretty fucking easy to parse html (depending on what you need to do, of course)
It definitely can be parsed with regex, and sometimes it is even useful to do so. The narrative here is just that there are more efficient ways of parsing HTML if you're going to be doing it intensively.
Oh yes you can do it, but it’s super inefficient and a waste of fucking time unless you want to take extra off work at home time to learn JS or some other shit for this stupid project that you took on at work, not knowing it’d be a nightmare.
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.
(Although, a parser in shell script will be so slow, that it makes more sense to call an external program, besides making more sense to use an existing program than write one redundantly.)
I once used regular expressions to filter through a bunch of HTML and o̤̤̼͈̕h͍̜̠̘͙̞̪ ̟͜m̻̺̮̥y ̫̦̫̼̟̖͡g̥͟o̸̤̯̲̘̠̙d̷̝̹͈̣͙̝,̬̳ ị̙̣̖t̝͍̖'͙͈͍̝́s̲͓͈̠̲͠ ̯̥̙̦̻͉e̙͘a͏̼t̵̲̯͉̱̘i͚n̺̼̞̮̕g͉̰̼̮̲ ̶̘̪̟̣̥̟m̮͢y̢̯͎̦̝ ̜̠͕̺͇̝̩f̻̫͔̫̗̬̮a̮̖̩̙̘̕c͚̳̳̲͚͢è̞
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 in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the trangession of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of regex parsers for HTML will instantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent slithy regex-infection will devour your HTML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fight he com̡e̶s, ̕h̵is un̨ho͞ly radiańcé destro҉ying all enli̍̈́̂̈́ghtenment, HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ik͏e liquid pain, the song of re̸gular expression parsing will extinguish the voices of mortal man from the sphere I can see it can you see ̲͚̖͔̙î̩́t̲͎̩̱͔́̋̀ it is beautiful the final snuffing of the lies of Man ALL IS LOŚ͖̩͇̗̪̏̈́T ALL IS LOST the pon̷y he comes he c̶̮omes he comes the ichor permeates all MY FACE MY FACE ᵒh god no NO NOO̼OO NΘ stop the an*̶͑̾̾̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨe̠̅s ͎a̧͈͖r̽̾̈́͒͑e not rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
2.1k
u/kopasz7 Sep 08 '17
For anyone out of the loop, it's about this answer on stackoverflow.
356
u/JoseJimeniz Sep 08 '17
Have you tried using an XML parser?
96
u/Tysonzero Sep 08 '17
I know this is in reference to the stackoverflow post about the same topic. But it also reminds me of this.
85
u/benjamindees Sep 08 '17
I admit I tried this once. I also may or may not have summoned Astaroth in the process. Sorry.
56
u/Yserbius Sep 08 '17
Pshaw. Everyone knows that you can't parse HTML with regex. But you can parse email addresses that are RFC-822 compliant up until 2007 (assuming your addresses don't have comments in them) by using the Email::Valid library from CPAN which relies on
43
u/DOOManiac Sep 08 '17
The center cannot hold.
42
u/Retrotransposonser Sep 08 '17
Thanks, this will be very helpful! Now I can finally start writing my own html regex parser in assembly.
38
u/PantstheCat Sep 08 '17
Error: attempted to parse HTML using regular expression. System returned Cthulhu.
36
u/Mutjny Sep 08 '17
Sometimes you have a problem and you think "I'll use regular expressions."
Now you have infinite problems.
23
u/Arancaytar Sep 08 '17
Page 1:
Pages 2-99 are blank.
21
u/[deleted] Sep 08 '17
I'll admit to having done it though... dirty screen-scraper on a site where the HTML is code-generated so will be in a regular format.
Obviously, the site owner could change things but when you're in a pinch...
34
u/mrpoopi Sep 08 '17
Not parsing HTML in C, byte by byte... fucking normies. Get on my level.
10
u/borick Sep 08 '17
Well, you may be able to do it using recursive regex, at least heres an example for XML
47
u/[deleted] Sep 08 '17
R/surrealmemes
9
u/[deleted] Sep 08 '17
I'm still quite inexperienced with programming so could someone tell me why parsing html with regex is frowned upon? I'm writing a script that extracts links and other things from an rss-feed and I don't see what problem people have with this
Thanks
8
u/[deleted] Sep 08 '17
"Why can't I parse a context free language using regular expressions?"
7
u/jwoot97 Sep 08 '17
i just had to check to make sure i wasn't on r/surrealmemes
7
u/Alwaysafk Sep 08 '17
Regular Expressions are black magic fuckery and there's nothing that will convince me otherwise.
6
u/arus4u Sep 08 '17
Performance tester here. Parsing HTML is easy with perl, and encoded content can be easily decoded using some simple groovy.
5
u/Neapolitan_Bonerpart Sep 08 '17
Is that a fucking squig?
5
u/ThatLongHairedDude Sep 08 '17
That creature reminds me those little bastards created by the Tzimisce in Vampire The Masquerade: Bloodlines...
8
u/Baalinooo Sep 08 '17
What's up with so many CS books have red titles with black and white visuals?
4
u/[deleted] Sep 08 '17
Thought I was on /r/grimdank for a second.
4
u/StoicPhoenix Sep 08 '17
/r/ooer
4
u/[deleted] Sep 08 '17
a missed opportunity to write o'r'lyeh instead of "o rly", but whatever
3
u/like_a_horse Sep 08 '17
Hey it's that think disruptor rides around on
3
u/PLxFTW Sep 08 '17
I'm not familiar with HTML much, can someone explain why it can't be parsed using regex?
3
u/SpikeShroom Sep 08 '17
F̶̸͉̦̰͎̰͈̤̯̲̲͎̻̼̳̠ͅU̴̧̱̣̫̥͘͢͢C̵̨̢̦͈̟̥̖̲̰̯̰̮̟̠̬̻͉̕ͅK̵̡̕͠҉͈̗̫͕̣I͔̻͇̲̺̫̻̲͍̥̞͇͈̺̙͔̦͘͞Ń̵͍̭̭̠̭͠ͅǴ̀͏̨͇͚͇̦̘̩̗̱̼̲̖̻̭̘̺̕ͅ ̷̡̢͖̺̼̟̙͍̼̻͙͓̬̳̞̝̝̱̥̤͞Ạ͈͍̞͉͘͠ͅẀ͚̣͚͇̰̯̱̻̟̯̮̜͉̱̙͈͔́́́͠Ę̶̡͓͖͖͔̖͍͜͞S̲̝͙̬͙̝͚̯͔̯͕̭̜̪̺͉͡O̵̖̗̗̫̭̺̜̞̝̞͡ͅM͢͏͎̤̣̪͇̣̞̠̲̘̭͎̱È͇͙̩͖̰͙̮̩̦͍̱̲̘͟ͅ
2
u/Kraekus Sep 08 '17
WAAAAAAAAGH!
2
u/lotekness Sep 08 '17
squig pic is accepted, and approved for this.
2
u/Nigger_Faggot45 Sep 08 '17
I thought I was in r/surrealmemes
2
u/braveNewWorldView Sep 08 '17
Welcome to Pony Island...
2
u/nitrohigito Sep 08 '17
How about this:
You need a different one for closing tags, and you are all set. Rest is programmatical.
2
u/donaldsw Sep 08 '17
Oh yes you can do it, but it’s super inefficient and a waste of fucking time unless you want to take extra off work at home time to learn JS or some other shit for this stupid project that you took on at work, not knowing it’d be a nightmare.
Source: fucking done it.
4
u/NorseGodLoki0411 Sep 08 '17
I already posted on this less than a week ago and only got 500 updoots!
https://www.reddit.com/r/ProgrammerHumor/comments/6x7wa1/can_you_parse_html_with_regular_expressions/
I'll see you in /r/KarmaCourt you thief!!!
3
u/TwoFiveOnes Sep 08 '17
PCRE are powerful enough, I've heard.
3
u/_eka_ Sep 08 '17
One does not simply parse HTML with regex
1
u/Cthulhus_cuck Sep 08 '17
r/ooer
1
u/[deleted] Sep 08 '17
Pretty surreal
1
u/DownstairsB Sep 08 '17
I thought I was on /r/surrealmemes for a minute
1
u/tomasgiles1 Sep 08 '17
Mike wasowski?
1
u/JimmyTheJ Sep 08 '17
Is the picture supposed to be a take on the compilers dragon book?
1
u/zEaK47 Sep 08 '17
i laughed more than i should, almost cried
1
u/aajmac Sep 08 '17
Does anyone else see an evil version of the guy from teddy ruxpin
1
u/hyperion2011 Sep 08 '17
Today we learn about pushdown automata!
1
u/axeteam Sep 08 '17
Yer like a maddened squig, settle down!
1
u/AKA_Wildcard Sep 08 '17
I once used regular expressions to filter through a bunch of HTML and o̤̤̼͈̕h͍̜̠̘͙̞̪ ̟͜m̻̺̮̥y ̫̦̫̼̟̖͡g̥͟o̸̤̯̲̘̠̙d̷̝̹͈̣͙̝,̬̳ ị̙̣̖t̝͍̖'͙͈͍̝́s̲͓͈̠̲͠ ̯̥̙̦̻͉e̙͘a͏̼t̵̲̯͉̱̘i͚n̺̼̞̮̕g͉̰̼̮̲ ̶̘̪̟̣̥̟m̮͢y̢̯͎̦̝ ̜̠͕̺͇̝̩f̻̫͔̫̗̬̮a̮̖̩̙̘̕c͚̳̳̲͚͢è̞
1
u/imagine_magic Sep 08 '17
Oh! And here I was just thinking this was the pig lizard from Galaxy Quest.
1
u/NoodleSnoo Sep 08 '17
The answer is always HtmlAgilityPack.
1
u/[deleted] Sep 08 '17
shit... I was about to say... HTML isn't regular. Then I figured out where I was.
1
u/ase1590 Sep 08 '17
some nice gems on /r/orlybooks as well
1
u/deridder Sep 08 '17
Python's htmlparser library depends on regex, though.
1
u/jaxxed Sep 08 '17
"the <center> cannot hold" is our office joke
1
u/Mentioned_Videos Sep 08 '17
Videos in this thread:
Watch Playlist ▶
Play All | Info | Get me on Chrome / Firefox
1
u/CriminalMacabre Sep 08 '17
what? Absolute chaos approves it. Fucking adorers of the false emperor.
1
u/[deleted] Sep 08 '17
Very surreal
1
u/fraac Sep 08 '17
Tony the pony.
1
u/synaesthesisx Sep 08 '17
Savage
1
u/splorpheus Sep 08 '17
I thought I was in r/surrealmemes for a second
1
u/MondayMonkey1 Sep 08 '17
THE PONY, HE COMES.
1
u/Sarenord Sep 08 '17
Can we get an album of all these books that have come up? I know we also have the "arrays start at 0" one, any others?
1
u/[deleted] Sep 08 '17
this is one of the funniest things ive seen as of late
1
u/Alicecd1998 Sep 09 '17
I wish I could upvote this more than once
1
u/lankks Sep 09 '17
All I do for a job is write REGEX. This doesn't sound so bad and I actually parse HTML using regular expressions in Vim.
1
u/TheCrazyRed Sep 09 '17
This was my job for two years of my life. I got really good at it.
1
u/davedunno Sep 09 '17
Squig Herder woot!
1
u/camkat1212 Sep 09 '17
r/ooer
1
u/valh0e Sep 09 '17
Oh look. A naburite drinker
1
u/DiploPL Sep 19 '17
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 in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the trangession of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of regex parsers for HTML will instantly transport a programmer's consciousness into a world of ceaseless screaming, he comes, the pestilent slithy regex-infection will devour your HTML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fight he com̡e̶s, ̕h̵is un̨ho͞ly radiańcé destro҉ying all enli̍̈́̂̈́ghtenment, HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ik͏e liquid pain, the song of re̸gular expression parsing will extinguish the voices of mortal man from the sphere I can see it can you see ̲͚̖͔̙î̩́t̲͎̩̱͔́̋̀ it is beautiful the final snuffing of the lies of Man ALL IS LOŚ͖̩͇̗̪̏̈́T ALL IS LOST the pon̷y he comes he c̶̮omes he comes the ichor permeates all MY FACE MY FACE ᵒh god no NO NOO̼OO NΘ stop the an*̶͑̾̾̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨe̠̅s ͎a̧͈͖r̽̾̈́͒͑e not rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ