🔥 | Latest

Beautiful, Community, and God: 21 Answers votes oldest newest 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. Regex-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 child 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 čorrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of reg ex 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 Vişual Basic only worse he comes he comes do not fight he comes, his uņholy radiance destroping all enlightenment, HTML tags leaking frọm your eyesiike liquid pain, the song of regular expression parsing-will extinguish the voices of mortal man from the sphere I can see it can you see t it is beautiful the f inal snuf fing of the lies of Man ALL ĮS LOSTALL IS LOST the pony he comes he comes hejcemes the ichor permeates al MY FACEFACEh god no NO NOOoo Ne stop the an ges aře not reâj ZALGO IS TON THË PONY, HECOMES 1811 Have you tried using an XML parser instead? link edit flag edited Nov 14 at 0:18 community wiki bobince regex and html
Beautiful, Community, and God: 21 Answers
 votes
 oldest
 newest
 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. Regex-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 child 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 čorrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of reg
 ex 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 Vişual Basic only worse he comes he comes do not fight he comes, his uņholy
 radiance destroping all enlightenment, HTML tags leaking frọm your eyesiike liquid pain, the song of
 regular expression parsing-will extinguish the voices of mortal man from the sphere I can see it can you
 see t it is beautiful the f inal snuf fing of the lies of Man ALL ĮS LOSTALL IS LOST the pony he
 comes he comes hejcemes the ichor permeates al MY FACEFACEh god no NO NOOoo Ne
 stop the an ges aře not reâj ZALGO IS TON THË PONY, HECOMES
 1811
 Have you tried using an XML parser instead?
 link edit flag
 edited Nov 14 at 0:18
 community wiki
 bobince
regex and html

regex and html

Mood, Protest, and Target: PROTEST slimeboots: aziraphalesbian: i know i say “big mood” a lot but honestly, gonna need this edited so the button says nut
Mood, Protest, and Target: PROTEST
slimeboots:
aziraphalesbian:
i know i say “big mood” a lot but honestly,
gonna need this edited so the button says nut

slimeboots: aziraphalesbian: i know i say “big mood” a lot but honestly, gonna need this edited so the button says nut

Bruh, Christmas, and College: October 19 at 11:11am In highschool I wonder why they pushed college on so hard instead of trades? They didn't tell me union plumbers can make $1,600 a week with no OT and NO us DEGREE....or that truck drivers can make 6 bands a week if they buy their own truck w/NO DEGREE? OR that traveling welders can make 100k a year with NO DEGREE. they made it seem like college was the only way to be successful. Like Comment Share and 352 others 495 Shares J I'm a weld Inspector, traveling inspectors can make 6 figures easy. Oct 19 at 11:14am Love 2 Reply Delete plied 3 replies Jo NO That's awesome bro .I'm a truck driver and we can make 6 figures as well with the right company. I just wonder why they ain't tell me about this shit in highschool. They made it seem like college was the only way Oct 19 at 11:16am Edited Like 3 Reply More justgot1: apocalycious: halfmoonhead: themightyglamazon: systlin: roamingaimlesly: triggeredmedia: It’s almost as if schools push and ideology that benefits schools.  Bruh, trades are in high fucking demand right now too. Between now and 2020 there are suppose to be 300,000 more jobs and that’s just for welder. Shit, they’ll pay for you to learn how to do it. I just finished high school and got a untility job in a factory and I have almost no experience. They’re gonna train me for everything plus it has full health benefits. Trades are fucking great. My husband is a welder, and is very very good at it. He got hired by a locksmith company pretty much just by walking in and going “Yes I can weld.” All of the other guys there were great at locksmithing, but none of them were trained welders, and they needed someone who could build custom doors and frames.  They trained him to do lock stuff too, so now he can weld AND pick locks.  The owner of the company, when he handed out Christmas bonuses, looked at him and went “Dude we literally cannot fire you because we’d be screwed so here’s your bonus and also we’re giving you a raise.” Welders are in desperate demand.  Blows kisses to this post. Anyway, learn a trade, unionize, wear your PPE, memorize OSHA’s phone number. My husband went to a fast track auto school and made almost 80k at his last job. Benefits are shit if you’re in a trade with no union but the money can be really good There are construction projects here in Portland, OR that sit around taking months and months longer than they need to because there aren’t enough trades people for all the projects.  It’s interesting to drive past the same apartment building where nothing seems to be happening for like a year, and then suddenly in a few weeks it all seems to finish up at once. I see these posts a lot but I always wonder which trades have a lot of women and/or are friendly to women wanting to enter them? Because that’s still an issue in some trades.
Bruh, Christmas, and College: October 19 at 11:11am
 In highschool I wonder why they pushed college on
 so hard instead of trades? They didn't tell me union
 plumbers can make $1,600 a week with no OT and NO
 us
 DEGREE....or that truck drivers can make 6 bands a
 week if they buy their own truck w/NO DEGREE? OR
 that traveling welders can make 100k a year with NO
 DEGREE. they made it seem like college was the
 only way to be successful.
 Like
 Comment
 Share
 and 352 others
 495 Shares
 J
 I'm a weld Inspector, traveling inspectors can
 make 6 figures easy.
 Oct 19 at 11:14am Love 2 Reply Delete
 plied 3 replies
 Jo
 NO
 That's awesome bro
 .I'm a truck driver
 and we can make 6 figures as well with the right
 company. I just wonder why they ain't tell me
 about this shit in highschool. They made it
 seem like college was the only way
 Oct 19 at 11:16am Edited Like
 3 Reply More
justgot1:

apocalycious:
halfmoonhead:

themightyglamazon:

systlin:

roamingaimlesly:

triggeredmedia:

It’s almost as if schools push and ideology that benefits schools. 

Bruh, trades are in high fucking demand right now too. Between now and 2020 there are suppose to be 300,000 more jobs and that’s just for welder.
Shit, they’ll pay for you to learn how to do it.

I just finished high school and got a untility job in a factory and I have almost no experience. They’re gonna train me for everything plus it has full health benefits.
Trades are fucking great.

My husband is a welder, and is very very good at it. He got hired by a locksmith company pretty much just by walking in and going “Yes I can weld.”
All of the other guys there were great at locksmithing, but none of them were trained welders, and they needed someone who could build custom doors and frames. 
They trained him to do lock stuff too, so now he can weld AND pick locks. 
The owner of the company, when he handed out Christmas bonuses, looked at him and went “Dude we literally cannot fire you because we’d be screwed so here’s your bonus and also we’re giving you a raise.”
Welders are in desperate demand. 

Blows kisses to this post.

Anyway, learn a trade, unionize, wear your PPE, memorize OSHA’s phone number.  


My husband went to a fast track auto school and made almost 80k at his last job. Benefits are shit if you’re in a trade with no union but the money can be really good 

There are construction projects here in Portland, OR that sit around taking months and months longer than they need to because there aren’t enough trades people for all the projects.  It’s interesting to drive past the same apartment building where nothing seems to be happening for like a year, and then suddenly in a few weeks it all seems to finish up at once.


I see these posts a lot but I always wonder which trades have a lot of women and/or are friendly to women wanting to enter them? Because that’s still an issue in some trades.

justgot1: apocalycious: halfmoonhead: themightyglamazon: systlin: roamingaimlesly: triggeredmedia: It’s almost as if schools push and ...

News, Target, and Tumblr: ST 15 15 mrevaunit42: starafterdeath: schi-walker-locked: a-small-bowl-of-noodles: kakaphoe: of-another-broken-heart: kakaphoe: asymbina: iamsapphirecrimsonclaw: bluesey-182: captaindeadpoet: hiringdreamers: ezurad: commandtower-solring-go: kayas-wife: chandra-nalaar: viralthings: The more you look at this picture, the more anxious it becomes. this is just a normal waffle house there is a bloody handprint on the door There is somethung under the counter with the cups Blind man reading news paperSkull in the coffee Milk is $15 Lady’s hand is a tentacle the bleeding pie, the eyeball and fingers on the blind man’s plate… I was trying to find something nobody else had seen yet, when I realized… Look right above the tentacle arm. The second man at the buffet, what the hell is he doing? He’s either throwing up or eating an octopus. I think his face is just tentacles. The blind man has gills. Scariest detail: this image was ripped from the creator’s site and vandalized (edited to remove the watermark), then reuploaded for viral fame without so much as a mention of the artist’s name. SOURCE: http://jeffleejohnson.deviantart.com/art/Blue-Plate-Special-661961724 That said, the earlier observation about milk being $15 is off - artist confirms this is based on a 1920’s diner, so the price would be in cents. (http://comments.deviantart.com/1/661961724/4375070065)The table under the journal is lacquered with ants. The person holding the skull-creamed coffee paints the underside of their nails. Either that or their natural nails grow red.The journal’s writing, intentionally made hard to read and partially obscured, is somewhat of a cheat to all the things amiss in the scene. (http://comments.deviantart.com/1/661961724/4372574544) I can make out: “… and eyeball … have to think he is less strange than the horrifying creature that seems to have inhabited the cabinet behind him … all tentacles and teeth … (obscured by cup) … Where in the world can be found such nightmares?!” Reblogging for the correct source (I didn’t even notice the OP wasn’t the artist oops). There’s a second one, and there’s even more in this AAAHH, cool, but AAAAAHHHH Just a regular morning in Innsmouth. Passing your perception checks isn’t always a great idea
News, Target, and Tumblr: ST
 15
 15
mrevaunit42:

starafterdeath:

schi-walker-locked:

a-small-bowl-of-noodles:

kakaphoe:

of-another-broken-heart:

kakaphoe:

asymbina:

iamsapphirecrimsonclaw:

bluesey-182:

captaindeadpoet:

hiringdreamers:


ezurad:


commandtower-solring-go:


kayas-wife:


chandra-nalaar:

viralthings:
The more you look at this picture, the more anxious it becomes.
this is just a normal waffle house

there is a bloody handprint on the door


There is somethung under the counter with the cups


Blind man reading news paperSkull in the coffee


Milk is $15


Lady’s hand is a tentacle


the bleeding pie, the eyeball and fingers on the blind man’s plate…

I was trying to find something nobody else had seen yet, when I realized…
Look right above the tentacle arm. The second man at the buffet, what the hell is he doing? He’s either throwing up or eating an octopus.

I think his face is just tentacles.

The blind man has gills.

Scariest detail: this image was ripped from the creator’s site and vandalized (edited to remove the watermark), then reuploaded for viral fame without so much as a mention of the artist’s name. SOURCE: http://jeffleejohnson.deviantart.com/art/Blue-Plate-Special-661961724 That said, the earlier observation about milk being $15 is off - artist confirms this is based on a 1920’s diner, so the price would be in cents. (http://comments.deviantart.com/1/661961724/4375070065)The table under the journal is lacquered with ants. The person holding the skull-creamed coffee paints the underside of their nails. Either that or their natural nails grow red.The journal’s writing, intentionally made hard to read and partially obscured, is somewhat of a cheat to all the things amiss in the scene. (http://comments.deviantart.com/1/661961724/4372574544) I can make out: “… and eyeball … have to think he is less strange than the horrifying creature that seems to have inhabited the cabinet behind him … all tentacles and teeth … (obscured by cup) … Where in the world can be found such nightmares?!”

Reblogging for the correct source (I didn’t even notice the OP wasn’t the artist oops).


There’s a second one, and there’s even more in this 


AAAHH, cool, but AAAAAHHHH



Just a regular morning in Innsmouth.


Passing your perception checks isn’t always a great idea

mrevaunit42: starafterdeath: schi-walker-locked: a-small-bowl-of-noodles: kakaphoe: of-another-broken-heart: kakaphoe: asymbina: iam...

Tumblr, Blog, and Fuck: slipher626:WHY DOES THIS FIT SO WELL LIKE THEIR MOUTHS ARE SYNCING WITH THE SONG PERFECTLY AND THIS HASN’T EVEN BEEN EDITED THE FUCK
Tumblr, Blog, and Fuck: slipher626:WHY DOES THIS FIT SO WELL LIKE THEIR MOUTHS ARE SYNCING WITH THE SONG PERFECTLY AND THIS HASN’T EVEN BEEN EDITED THE FUCK

slipher626:WHY DOES THIS FIT SO WELL LIKE THEIR MOUTHS ARE SYNCING WITH THE SONG PERFECTLY AND THIS HASN’T EVEN BEEN EDITED THE FUCK

News, Tumblr, and Waffle House: ST 15 15 starafterdeath: schi-walker-locked: a-small-bowl-of-noodles: kakaphoe: of-another-broken-heart: kakaphoe: asymbina: iamsapphirecrimsonclaw: bluesey-182: captaindeadpoet: hiringdreamers: ezurad: commandtower-solring-go: kayas-wife: chandra-nalaar: viralthings: The more you look at this picture, the more anxious it becomes. this is just a normal waffle house there is a bloody handprint on the door There is somethung under the counter with the cups Blind man reading news paperSkull in the coffee Milk is $15 Lady’s hand is a tentacle the bleeding pie, the eyeball and fingers on the blind man’s plate… I was trying to find something nobody else had seen yet, when I realized… Look right above the tentacle arm. The second man at the buffet, what the hell is he doing? He’s either throwing up or eating an octopus. I think his face is just tentacles. The blind man has gills. Scariest detail: this image was ripped from the creator’s site and vandalized (edited to remove the watermark), then reuploaded for viral fame without so much as a mention of the artist’s name. SOURCE: http://jeffleejohnson.deviantart.com/art/Blue-Plate-Special-661961724 That said, the earlier observation about milk being $15 is off - artist confirms this is based on a 1920’s diner, so the price would be in cents. (http://comments.deviantart.com/1/661961724/4375070065)The table under the journal is lacquered with ants. The person holding the skull-creamed coffee paints the underside of their nails. Either that or their natural nails grow red.The journal’s writing, intentionally made hard to read and partially obscured, is somewhat of a cheat to all the things amiss in the scene. (http://comments.deviantart.com/1/661961724/4372574544) I can make out: “… and eyeball … have to think he is less strange than the horrifying creature that seems to have inhabited the cabinet behind him … all tentacles and teeth … (obscured by cup) … Where in the world can be found such nightmares?!” Reblogging for the correct source (I didn’t even notice the OP wasn’t the artist oops). There’s a second one, and there’s even more in this AAAHH, cool, but AAAAAHHHH Just a regular morning in Innsmouth.
News, Tumblr, and Waffle House: ST
 15
 15
starafterdeath:

schi-walker-locked:

a-small-bowl-of-noodles:

kakaphoe:

of-another-broken-heart:

kakaphoe:

asymbina:

iamsapphirecrimsonclaw:

bluesey-182:

captaindeadpoet:

hiringdreamers:


ezurad:


commandtower-solring-go:


kayas-wife:


chandra-nalaar:

viralthings:
The more you look at this picture, the more anxious it becomes.
this is just a normal waffle house

there is a bloody handprint on the door


There is somethung under the counter with the cups


Blind man reading news paperSkull in the coffee


Milk is $15


Lady’s hand is a tentacle


the bleeding pie, the eyeball and fingers on the blind man’s plate…

I was trying to find something nobody else had seen yet, when I realized…
Look right above the tentacle arm. The second man at the buffet, what the hell is he doing? He’s either throwing up or eating an octopus.

I think his face is just tentacles.

The blind man has gills.

Scariest detail: this image was ripped from the creator’s site and vandalized (edited to remove the watermark), then reuploaded for viral fame without so much as a mention of the artist’s name. SOURCE: http://jeffleejohnson.deviantart.com/art/Blue-Plate-Special-661961724 That said, the earlier observation about milk being $15 is off - artist confirms this is based on a 1920’s diner, so the price would be in cents. (http://comments.deviantart.com/1/661961724/4375070065)The table under the journal is lacquered with ants. The person holding the skull-creamed coffee paints the underside of their nails. Either that or their natural nails grow red.The journal’s writing, intentionally made hard to read and partially obscured, is somewhat of a cheat to all the things amiss in the scene. (http://comments.deviantart.com/1/661961724/4372574544) I can make out: “… and eyeball … have to think he is less strange than the horrifying creature that seems to have inhabited the cabinet behind him … all tentacles and teeth … (obscured by cup) … Where in the world can be found such nightmares?!”

Reblogging for the correct source (I didn’t even notice the OP wasn’t the artist oops).


There’s a second one, and there’s even more in this 


AAAHH, cool, but AAAAAHHHH



Just a regular morning in Innsmouth.

starafterdeath: schi-walker-locked: a-small-bowl-of-noodles: kakaphoe: of-another-broken-heart: kakaphoe: asymbina: iamsapphirecrimso...