Watch This
Watch This

Watch This

Deciding
Deciding

Deciding

Make My
Make My

Make My

Wishes
Wishes

Wishes

The Internets
The Internets

The Internets

I Wish
I Wish

I Wish

Proofs
Proofs

Proofs

Doctor Appointment
Doctor Appointment

Doctor Appointment

When I Was
When I Was

When I Was

Posts
Posts

Posts

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

Definitely, Fire, and God: royaltealovingkookiness: deeperthanswords: royaltealovingkookiness: The first training of Zuko we see, Iroh shoots a fireball right into Zuko’s face - while Zuko just stands there unflinching. It’s the very first episode, and Zuko & Iroh are the obvious villains, and it just seems like some macho bs they do.  And then comes the duel with Zhao, and Zuko is down, but when he sees that flaming fist to his face, something lets loose inside him that helps him turn the fight around…But it’s not until we learn Zuko’s backstory that all this gets a whole new meaning.  Why would Zuko still be on basics if not because he suffered a huge setback after his agni kai? Imagine how much hard work, patience it was to build Zuko back up again, so he would not freeze in blind panic (or curl up in a ball) when fire gets close to his face. I think Iroh practiced this with him all the time until he could stand there unflinching (knowing that Iroh is in full control of his bending and trusting that his uncle would never hurt him). And when it came to the duel with Zhao, Zuko could react in a RL situation instead of freezing up, and turn all the negative feelings (rage, anger, pain, whatever) into fuel to win the fight against a bender who is much more skilled than he is.  And Iroh obviously drilled him with control and restraint, because no matter how much he lets his rage loose, he has enough control not to hurt Zhao and enough self-restraint not to burn him at the end. I definitely think it was a deliberate choice on Iroh’s part to hold back on teaching offensive forms to Zuko beyond the basics (knowing that combining those with his unprocessed anger could result in him being out of control and hurt people). Instead, it seems he concentrated on teaching him defensive forms, fire breath, heat control, and so on… What the FUCK iroh was the real mvp of this whole show my god Indeed. It goes over many people’s head, but he made a huge difference. It was mostly assists and defensive plays though, not the flashy stuff. I love that narrative so much, how you change the world one person at a time and not only violence and hate, but also love and kindness creates ripple effects. 
Definitely, Fire, and God: royaltealovingkookiness:
deeperthanswords:

royaltealovingkookiness:


The first training of Zuko we see, Iroh shoots a fireball right into Zuko’s face - while Zuko just stands there unflinching. It’s the very first episode, and Zuko & Iroh are the obvious villains, and it just seems like some macho bs they do.  And then comes the duel with Zhao, and Zuko is down, but when he sees that flaming fist to his face, something lets loose inside him that helps him turn the fight around…But it’s not until we learn Zuko’s backstory that all this gets a whole new meaning. 
Why would Zuko still be on basics if not because he suffered a huge setback after his agni kai? Imagine how much hard work, patience it was to build Zuko back up again, so he would not freeze in blind panic (or curl up in a ball) when fire gets close to his face. I think Iroh practiced this with him all the time until he could stand there unflinching (knowing that Iroh is in full control of his bending and trusting that his uncle would never hurt him). And when it came to the duel with Zhao, Zuko could react in a RL situation instead of freezing up, and turn all the negative feelings (rage, anger, pain, whatever) into fuel to win the fight against a bender who is much more skilled than he is. 
And Iroh obviously drilled him with control and restraint, because no matter how much he lets his rage loose, he has enough control not to hurt Zhao and enough self-restraint not to burn him at the end. I definitely think it was a deliberate choice on Iroh’s part to hold back on teaching offensive forms to Zuko beyond the basics (knowing that combining those with his unprocessed anger could result in him being out of control and hurt people). Instead, it seems he concentrated on teaching him defensive forms, fire breath, heat control, and so on…


What the FUCK iroh was the real mvp of this whole show my god

Indeed. It goes over many people’s head, but he made a huge difference. It was mostly assists and defensive plays though, not the flashy stuff.
I love that narrative so much, how you change the world one person at a time and not only violence and hate, but also love and kindness creates ripple effects. 

royaltealovingkookiness: deeperthanswords: royaltealovingkookiness: The first training of Zuko we see, Iroh shoots a fireball right into ...

Amazon, Chrome, and Click: $ Ecosia, a search engine that use 80% of their profits to plant trees, is planting 1 Million trees in Brazil after the Amazon Rainforest fire tragedy The Happy Broadcast G I don't want to play with you anymore tspicer23: ofgeography: avital-mi-beit: tealishfish: programmerhumour: Programmers are the greatest browsing community (SO mostly)…We can singlehandedly save the planet. I use Ecosia and let me tell you, Google has nothing on this search engine. It’s easy to free up your cache and delete cookies. The option is immediately viewable in settings instead of hidden away in the alcoves of who knows where. Unless you favorite a page, it automatically clears it after 7 days, which is awesome if you hate clearing tabs like I do. They plant trees everywhere. Ecosia updates you on their progress- not with annoying update notifications, but with a button you can click as you type up your search if you’re curious. The tree count is shown just beneath the search bar. It is an app too and only takes up 18.2 MB. That’s the equivalent of nine live pictures on your phone. You can view your own tree count. Mine’s 2,475 trees. I have had the app for six months. Do you know how much acreage that is? It’s a heckin’ ton of acres. It has a safe search mode that actually works. It’s true! also worth noting that ecosia’s servers run on 100% renewable energy and that their tree-planting methods are very cool: https://ecosia.zendesk.com/hc/en-us/articles/360013316554-What-tree-planting-methods-does-Ecosia-use- You can also add tab for a cause. Which is an extension for your web browser that gives you hearts to donate every time you open a new tab. And you can use ecosia as a search engine on it as well! Chrome Firefox
Amazon, Chrome, and Click: $
 Ecosia, a search engine that use
 80% of their profits to plant trees, is
 planting 1 Million trees in Brazil after
 the Amazon Rainforest fire tragedy
 The Happy Broadcast
 G
 I don't want to play with you anymore
tspicer23:


ofgeography:

avital-mi-beit:

tealishfish:

programmerhumour:

Programmers are the greatest browsing community (SO mostly)…We can singlehandedly save the planet.

I use Ecosia and let me tell you, Google has nothing on this search engine. 
It’s easy to free up your cache and delete cookies. The option is immediately viewable in settings instead of hidden away in the alcoves of who knows where.
Unless you favorite a page, it automatically clears it after 7 days, which is awesome if you hate clearing tabs like I do. 
They plant trees everywhere. 
Ecosia updates you on their progress- not with annoying update notifications, but with a button you can click as you type up your search if you’re curious.
The tree count is shown just beneath the search bar.
It is an app too and only takes up 18.2 MB. That’s the equivalent of nine live pictures on your phone. 
You can view your own tree count. Mine’s 2,475 trees. I have had the app for six months. Do you know how much acreage that is? It’s a heckin’ ton of acres. 
It has a safe search mode that actually works.

It’s true!

also worth noting that ecosia’s servers run on 100% renewable energy and that their tree-planting methods are very cool: https://ecosia.zendesk.com/hc/en-us/articles/360013316554-What-tree-planting-methods-does-Ecosia-use-

You can also add tab for a cause. Which is an extension for your web browser that gives you hearts to donate every time you open a new tab. And you can use ecosia as a search engine on it as well!
Chrome
Firefox

tspicer23: ofgeography: avital-mi-beit: tealishfish: programmerhumour: Programmers are the greatest browsing community (SO mostly)…We ...

Target, Tumblr, and Blog: uncommonbish: He left everyone happy instead of tears
Target, Tumblr, and Blog: uncommonbish:
He left everyone happy instead of tears

uncommonbish: He left everyone happy instead of tears