Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

The neverending influx of these horrible questions is catalyst for the smartassistance from some Stackoverflowers. Or to put it in nicer words: it's a meme. And people have simply given up being helpful, because it seemingly doesn't make a difference.

I've recently come across a couple of examples too. People are posting the link to @bobince's fun answer@bobince's fun answer in a not overly relevant manner. - Don't get me wrong, I like it being linked from reddit twice a year, and I might even have upvoted it myself. - But in that specific Q&A there were a couple of way more objective analyzations of the html-with-regex topic. But those go completely ignored by anchoring the anti-regex rant in the run to post the funny comment.

Maybe someone could comment on that. Is that link commonly posted because it's funny? Do you have a bookmark? Or a favorite? Do you remember it that well to find it with the site search?

Anyway, I don't think it's generally intended to be help the asker. It does not explain why regular expressions are mostly unfit for the task. And then people even post it when regular expressions would indeed be an acceptable tool for a simplistic extraction (e.g. src from imgs).

Practically there is no way to make these questions go away. New and even seasoned users post it every now and then. That the anti-regex meme is permeating SO won't stop it. I think it's entirely caused by outdated PHP tutorials on the web, and books (all PHP books should be burned). - But I don't think it's beneficial to post the fun link. There is a very very very remote possibility to reduce the number of htmlregex questions by offering a reasonable explanation instead. [link] It's IMO as simple as contrasting the complexity of regex approaches with phpQuery/QueryPath/etc:

 preg_match("#<address[^>]*>([^<>]+)</a#ims", $html, $m);

 qp($html)->find("address")->text();

Obviously: more work, less fun. But it's not as if we didn't have better reference questions for the dreaded html-vs-regex topic: How to parse HTML with PHP?How to parse HTML with PHP?


  

That link: Not helping. What do we do about it? Commenting doesn't help. Is it allowed to flag it for not being contributing?

Or can we maybe have it added to the very same blocklist where LMGTFY lives? I do think it belongs there.

Wikipedia style: Add an objectivizing info block to bobince's fun answer to deter from overzealous linking?

The neverending influx of these horrible questions is catalyst for the smartassistance from some Stackoverflowers. Or to put it in nicer words: it's a meme. And people have simply given up being helpful, because it seemingly doesn't make a difference.

I've recently come across a couple of examples too. People are posting the link to @bobince's fun answer in a not overly relevant manner. - Don't get me wrong, I like it being linked from reddit twice a year, and I might even have upvoted it myself. - But in that specific Q&A there were a couple of way more objective analyzations of the html-with-regex topic. But those go completely ignored by anchoring the anti-regex rant in the run to post the funny comment.

Maybe someone could comment on that. Is that link commonly posted because it's funny? Do you have a bookmark? Or a favorite? Do you remember it that well to find it with the site search?

Anyway, I don't think it's generally intended to be help the asker. It does not explain why regular expressions are mostly unfit for the task. And then people even post it when regular expressions would indeed be an acceptable tool for a simplistic extraction (e.g. src from imgs).

Practically there is no way to make these questions go away. New and even seasoned users post it every now and then. That the anti-regex meme is permeating SO won't stop it. I think it's entirely caused by outdated PHP tutorials on the web, and books (all PHP books should be burned). - But I don't think it's beneficial to post the fun link. There is a very very very remote possibility to reduce the number of htmlregex questions by offering a reasonable explanation instead. [link] It's IMO as simple as contrasting the complexity of regex approaches with phpQuery/QueryPath/etc:

 preg_match("#<address[^>]*>([^<>]+)</a#ims", $html, $m);

 qp($html)->find("address")->text();

Obviously: more work, less fun. But it's not as if we didn't have better reference questions for the dreaded html-vs-regex topic: How to parse HTML with PHP?


 

That link: Not helping. What do we do about it? Commenting doesn't help. Is it allowed to flag it for not being contributing?

Or can we maybe have it added to the very same blocklist where LMGTFY lives? I do think it belongs there.

Wikipedia style: Add an objectivizing info block to bobince's fun answer to deter from overzealous linking?

The neverending influx of these horrible questions is catalyst for the smartassistance from some Stackoverflowers. Or to put it in nicer words: it's a meme. And people have simply given up being helpful, because it seemingly doesn't make a difference.

I've recently come across a couple of examples too. People are posting the link to @bobince's fun answer in a not overly relevant manner. - Don't get me wrong, I like it being linked from reddit twice a year, and I might even have upvoted it myself. - But in that specific Q&A there were a couple of way more objective analyzations of the html-with-regex topic. But those go completely ignored by anchoring the anti-regex rant in the run to post the funny comment.

Maybe someone could comment on that. Is that link commonly posted because it's funny? Do you have a bookmark? Or a favorite? Do you remember it that well to find it with the site search?

Anyway, I don't think it's generally intended to be help the asker. It does not explain why regular expressions are mostly unfit for the task. And then people even post it when regular expressions would indeed be an acceptable tool for a simplistic extraction (e.g. src from imgs).

Practically there is no way to make these questions go away. New and even seasoned users post it every now and then. That the anti-regex meme is permeating SO won't stop it. I think it's entirely caused by outdated PHP tutorials on the web, and books (all PHP books should be burned). - But I don't think it's beneficial to post the fun link. There is a very very very remote possibility to reduce the number of htmlregex questions by offering a reasonable explanation instead. [link] It's IMO as simple as contrasting the complexity of regex approaches with phpQuery/QueryPath/etc:

 preg_match("#<address[^>]*>([^<>]+)</a#ims", $html, $m);

 qp($html)->find("address")->text();

Obviously: more work, less fun. But it's not as if we didn't have better reference questions for the dreaded html-vs-regex topic: How to parse HTML with PHP?

 

That link: Not helping. What do we do about it? Commenting doesn't help. Is it allowed to flag it for not being contributing?

Or can we maybe have it added to the very same blocklist where LMGTFY lives? I do think it belongs there.

Wikipedia style: Add an objectivizing info block to bobince's fun answer to deter from overzealous linking?

Post Migrated Here from meta.stackexchange.com (revisions)
Source Link
mario
  • 145.3k
  • 1
  • 21
  • 10

The neverending influx of these horrible questions is catalyst for the smartassistance from some Stackoverflowers. Or to put it in nicer words: it's a meme. And people have simply given up being helpful, because it seemingly doesn't make a difference.

I've recently come across a couple of examples too. People are posting the link to @bobince's fun answer in a not overly relevant manner. - Don't get me wrong, I like it being linked from reddit twice a year, and I might even have upvoted it myself. - But in that specific Q&A there were a couple of way more objective analyzations of the html-with-regex topic. But those go completely ignored by anchoring the anti-regex rant in the run to post the funny comment.

Maybe someone could comment on that. Is that link commonly posted because it's funny? Do you have a bookmark? Or a favorite? Do you remember it that well to find it with the site search?

Anyway, I don't think it's generally intended to be help the asker. It does not explain why regular expressions are mostly unfit for the task. And then people even post it when regular expressions would indeed be an acceptable tool for a simplistic extraction (e.g. src from imgs).

Practically there is no way to make these questions go away. New and even seasoned users post it every now and then. That the anti-regex meme is permeating SO won't stop it. I think it's entirely caused by outdated PHP tutorials on the web, and books (all PHP books should be burned). - But I don't think it's beneficial to post the fun link. There is a very very very remote possibility to reduce the number of htmlregex questions by offering a reasonable explanation instead. [link] It's IMO as simple as contrasting the complexity of regex approaches with phpQuery/QueryPath/etc:

 preg_match("#<address[^>]*>([^<>]+)</a#ims", $html, $m);

 qp($html)->find("address")->text();

Obviously: more work, less fun. But it's not as if we didn't have better reference questions for the dreaded html-vs-regex topic: How to parse HTML with PHP?


That link: Not helping. What do we do about it? Commenting doesn't help. Is it allowed to flag it for not being contributing?

Or can we maybe have it added to the very same blocklist where LMGTFY lives? I do think it belongs there.

Wikipedia style: Add an objectivizing info block to bobince's fun answer to deter from overzealous linking?