Hekya
Hekya

Hekya

Smalls
Smalls

Smalls

The
The

The

Satisfied
Satisfied

Satisfied

Effort
Effort

Effort

Trolley Problem
Trolley Problem

Trolley Problem

Guys Want
Guys Want

Guys Want

Opposive
Opposive

Opposive

Approvation
Approvation

Approvation

Beliebe
Beliebe

Beliebe

🔥 | 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

Being Alone, Bad, and Fall: Same thing as yous Theseus. ARIADNE! What are YOU deing here? We're in THE UNDERWORLD. T got MURDERED raugh got thrown Oh, yeah, yikes. Me too, L+was was in though exile. ght off this It was cliff. Pretty bad. Hang on- Enough about ME Croy what have YOU been up to? I havent seen you in YEARS! didnt that keep in touch after that But okay here's what nappened: we after You mean, you lett me on Naxos to die? And you Said me, bt then I took oud marry You remember how we left Crete, after that sword gaveyu and golo thread, and killed the minotaur Jou and a nap you LEFT ME BEHIND I mean you can't REALLY blame me. You betrayed yar /family, How could you after THAT? My family fed people He didn't worry about my past We fell in love to a monster! and got married, But I forgive you guess because while I was on Naxos I met the most handsome Great glad you happy had a ife. Too bad all man I'd ever seen thngs an end, and Come to And ever since then, we've been so and so in love, and hapry now we're both stuck here in everything the Underworld... is Together just like the good old days... and alone for now... ARI ADNE WHERE ARE YOU Diony sus? Ft ARIADNE! Was so wonried! Babe! You... you married The God of Wine? God of Wine Ariadng I completely fargat weren't immortal. We need to fix that Theatre, and Ritual Madness, is the official ttle, I +hink. you Well decide laterSounds ike Plan And, hey Theseus? what do be the goddes thinkin passion NIce job with the minotaur. want to a let's now out Just get of here. For Yes? ruffboijuliaburnsides: oatmealraisinbagel: I know tumblr really loves Persephone and Hades, which I get, but my favorite Greek Mythical figure has to be Ariadne.  Until this year I had pretty much only ever heard of her in the context of the Theseus and the Minotaur myth, but her story actually continues past that and I love it.  (Disclaimer, as with any Greek myth there’s a billion versions, but my favorite goes like this) Ariadne helped Theseus kill the Minotaur.  She had to betray her family, but she knew she had to in order to stop the yearly sacrifices.  Theseus promised her he would marry her as thanks for her help. Theseus and Ariadne left Crete together, but since Theseus didn’t trust Ariadne to be a good wife, he left her behind on Naxos while she was napping.  Why didn’t he trust her to be a good wife?  She had betrayed her family. While on Naxos, Dionysus, god of wine, fertility, madness, theater, and celebration, happens to stop by.  He meets Ariadne and the two fall in love. Dionysus marries Ariadne.  Note: There are plenty of retellings of this myth, but almost all of them emphasize how happy Dionysus and Ariadne’s marriage was. Ariadne is killed and goes to Hades. Dionysus descends into Hades to get his wife back.  Ariadne gets to join the gods in Olympus, become immortal, and takes her place as the goddess of the labyrinth, mazes, paths, fertility, wine, and passion. Meanwhile, Theseus dies after being thrown off a cliff by Lycomedes. Ariadne is practically the personification of “the best revenge is living well” and I think that’s great. this is good shit.
Being Alone, Bad, and Fall: Same thing
 as yous
 Theseus.
 ARIADNE!
 What are YOU
 deing here?
 We're in
 THE UNDERWORLD.
 T got
 MURDERED
 raugh
 got
 thrown
 Oh, yeah, yikes.
 Me too,
 L+was
 was in
 though
 exile.
 ght off
 this
 It was
 cliff.
 Pretty
 bad.
 Hang on- Enough about ME
 Croy
 what have YOU been
 up to? I havent
 seen you in
 YEARS!
 didnt
 that
 keep in touch
 after that
 But okay
 here's
 what
 nappened:
 we
 after
 You mean,
 you lett me on
 Naxos to die?

 And you
 Said
 me, bt then I took
 oud marry
 You remember how
 we left Crete, after
 that sword
 gaveyu
 and golo thread, and
 killed the minotaur
 Jou
 and
 a
 nap
 you
 LEFT ME
 BEHIND
 I
 mean you can't REALLY
 blame me. You betrayed yar
 /family, How could
 you
 after
 THAT?
 My family fed people
 He didn't
 worry
 about
 my past
 We fell in love
 to a
 monster!
 and got married,
 But I forgive you guess
 because while I was on Naxos
 I met the most handsome
 Great glad you
 happy
 had a
 ife. Too bad all
 man I'd ever seen
 thngs
 an end, and
 Come to
 And ever since then,
 we've been so
 and so in love,
 and
 hapry
 now we're
 both stuck here in
 everything
 the Underworld...
 is

 Together just
 like the good
 old days...
 and
 alone
 for now...
 ARI ADNE WHERE
 ARE
 YOU
 Diony sus?
 Ft ARIADNE!
 Was so
 wonried!
 Babe!
 You...
 you
 married The
 God of Wine?
 God of Wine Ariadng I completely fargat
 weren't immortal.
 We need to
 fix that
 Theatre, and
 Ritual
 Madness,
 is the
 official
 ttle, I
 +hink.
 you
 Well decide laterSounds ike
 Plan
 And, hey
 Theseus?
 what do
 be the goddes
 thinkin passion
 NIce job
 with the
 minotaur.
 want to
 a
 let's
 now
 out
 Just get
 of here.
 For
 Yes?
ruffboijuliaburnsides:
oatmealraisinbagel:

I know tumblr really loves Persephone and Hades, which I get, but my favorite Greek Mythical figure has to be Ariadne.  Until this year I had pretty much only ever heard of her in the context of the Theseus and the Minotaur myth, but her story actually continues past that and I love it.  (Disclaimer, as with any Greek myth there’s a billion versions, but my favorite goes like this)
Ariadne helped Theseus kill the Minotaur.  She had to betray her family, but she knew she had to in order to stop the yearly sacrifices.  Theseus promised her he would marry her as thanks for her help.
Theseus and Ariadne left Crete together, but since Theseus didn’t trust Ariadne to be a good wife, he left her behind on Naxos while she was napping.  Why didn’t he trust her to be a good wife?  She had betrayed her family.
While on Naxos, Dionysus, god of wine, fertility, madness, theater, and celebration, happens to stop by.  He meets Ariadne and the two fall in love.
Dionysus marries Ariadne.  Note: There are plenty of retellings of this myth, but almost all of them emphasize how happy Dionysus and Ariadne’s marriage was.
Ariadne is killed and goes to Hades.
Dionysus descends into Hades to get his wife back.  Ariadne gets to join the gods in Olympus, become immortal, and takes her place as the goddess of the labyrinth, mazes, paths, fertility, wine, and passion.
Meanwhile, Theseus dies after being thrown off a cliff by Lycomedes.
Ariadne is practically the personification of “the best revenge is living well” and I think that’s great.

this is good shit.

ruffboijuliaburnsides: oatmealraisinbagel: I know tumblr really loves Persephone and Hades, which I get, but my favorite Greek Mythical fig...

Apparently, Brains, and Confidence: bidoof change.org Trending petition Matt-There's a new petition taking off on Change.org, and we think you might be interested in signing it. Change.org - Petition To Hire 1,000,000 People To Put Their Fingers In The Shoot Hole Of Peoples' Guns So They Can't Shoot Them thetwinkerbell It's still gonna shoot... And they're gonna lose a finger ssj14goku No. The finger blocks the bullet. We can do this domozillla This is a gun we're talking about. The projectile is fired using an explosion, not by compressed air of a toy gun or the elastic forces of a sling shot. People would be lucky if they only lost their finger. ssj14goku The finger blocks it dildomuncher3000 The finger won't block it the shaft is only there for keeping the bullet straight, all the propulsion happens behind the bullet. The bullet would rip through the finger, not that many would actually fit without the victim being a child, and beyond. ssj14goku The bullet would go forward a little and then hit the finger and stop it's not that hard to understand lgbltsandwitch People are going to lose their hands. Go watch Mythbusters. They did an episode on this, the hand fucking exploded. hungwy No, the bullet would start to go but stop at the finger. Thats basic physics. Also hands dont explode normally they did something wrong. blipblerp Why the dingleknockers would you even consider sticking your finger in the barrel of a loaded gun?? the amount of force propelling the bullet at that close of range would shatter the finger at the very least; this is a petition for 1,000,000 people to loose the use of their hands. If a bullet explodes the back of a persons skull when they shoot it in their mouth it sure as hell will explode a finger. gorps No the finger would stop it jorycancrochet I'm loving the idiocy of this post. Ppl with brains: ummm finger go boom... Others: no bullet stop. U no kno fisics >:V snakegay no the finger would stop it indianworiorprincess You guy who think the bullet would stop at the finger have never shot a gun and can volunteer to it their fingers in the barrel of my 9 mil and I'Il I'll the trigger and see if it will stop the bullet Dumdasses egay sna the finger would stop it meatswitch raptorific Apparently for dudes who've got a compulsive need to be the smartest person in the room, "someone who's wrong in a really stupid way who has unshakable confidence that they're smarter than you" is their kryptonite. You can play dumb on almost any subject and their ego, their staunch belief that the masses are so far below them, will blind them to the fact that you're just fucking with them, and as long as you don't admit you're fucking with them or acknowledge that there's anything Off about what you're saying, they won't be able to stop themselves trying to get you to Respect Their Authority, and they won't be able to see that will literally never happen. lynati The finger is smooth in all directions. That's why it can stop the bullet.
Apparently, Brains, and Confidence: bidoof
 change.org
 Trending petition
 Matt-There's a new petition taking off on Change.org, and we
 think you might be interested in signing it.
 Change.org - Petition To Hire 1,000,000
 People To Put Their Fingers In The Shoot Hole
 Of Peoples' Guns So They Can't Shoot Them
 thetwinkerbell
 It's still gonna shoot... And they're gonna lose a
 finger
 ssj14goku
 No. The finger blocks the bullet. We can do this
 domozillla
 This is a gun we're talking about. The projectile
 is fired using an explosion, not by compressed
 air of a toy gun or the elastic forces of a sling
 shot. People would be lucky if they only lost
 their finger.
 ssj14goku
 The finger blocks it
 dildomuncher3000
 The finger won't block it the shaft is only there
 for keeping the bullet straight, all the
 propulsion happens behind the bullet. The
 bullet would rip through the finger, not that
 many would actually fit without the victim
 being a child, and beyond.
 ssj14goku
 The bullet would go forward a little and then
 hit the finger and stop it's not that hard to
 understand
 lgbltsandwitch
 People are going to lose
 their hands. Go watch
 Mythbusters. They did
 an episode on this, the
 hand fucking exploded.
 hungwy
 No, the bullet would
 start to go but stop at
 the finger. Thats basic
 physics. Also hands dont
 explode normally they
 did something wrong.
 blipblerp
 Why the dingleknockers would you even
 consider sticking your finger in the barrel of a
 loaded gun?? the amount of force propelling
 the bullet at that close of range would shatter
 the finger at the very least; this is a petition for
 1,000,000 people to loose the use of their
 hands. If a bullet explodes the back of a
 persons skull when they shoot it in their mouth
 it sure as hell will explode a finger.
 gorps
 No the finger would stop it
 jorycancrochet
 I'm loving the idiocy of this post.
 Ppl with brains: ummm finger go boom...
 Others: no bullet stop. U no kno fisics >:V
 snakegay
 no the finger would stop it
 indianworiorprincess
 You guy who think the bullet would stop at the
 finger have never shot a gun and can volunteer
 to it their fingers in the barrel of my 9 mil and I'Il
 I'll the trigger and see if it will stop the bullet
 Dumdasses
 egay
 sna
 the finger would stop it
 meatswitch
 raptorific
 Apparently for dudes who've got a compulsive need
 to be the smartest person in the room, "someone
 who's wrong in a really stupid way who has
 unshakable confidence that they're smarter than
 you" is their kryptonite. You can play dumb on
 almost any subject and their ego, their staunch
 belief that the masses are so far below them, will
 blind them to the fact that you're just fucking with
 them, and as long as you don't admit you're fucking
 with them or acknowledge that there's anything
 Off about what you're saying, they won't be able to
 stop themselves trying to get you to Respect Their
 Authority, and they won't be able to see that will
 literally never happen.
 lynati
 The finger is smooth in all directions. That's
 why it can stop the bullet.