Background
I was whining about the fact that regex tag suffers from bad quality questions and answers. I did something about it. I rampaged through the review queue:
But I wasn't satisfied. I noticed high-rep users (3k+) answering such obvious questions.
Now there are two types of questions I noticed:
- Questions that are clear duplicates, but you can't find one quickly.
- Questions that ask about explaining a regex and end up with some copy-paste from an automated script or something similar.
Every time you try to discuss the matters with those answerers they always come up with the following arguments:
- "I'm just trying to help."
- "I don't know a duplicate."
- "It's fine to answer
give me ze code
questions." did I make this up?
Now let's be honest, in the long run you aren't helping anyone with a low-quality answer (without explanation) like "this regex does the job: fancy regex here
".
So I was wondering, there should be a solution: a reference!
Situation
So after some hesitation and time I really started in creating this reference. I asked on how I should approach it in chat rooms, etc. I got great feedback. Today I posted it as a question on Stack Overflow.
Now as expected there is always a set of people who are against this kind of reference. The question is: what should be the fate of this reference?
Closed?
Deleted? (I don't really mind if it gets closed, but please don't delete it.)
Two people (1 and 2) suggested to split it up in a Q&A: A general question in the form "What is a regex?" and the answer with "the list". I like this idea, but before doing anything, I thought lets ask on Meta Stack Overflow before people would think I'm acting on my own.
For all those who are against it, please don't tell me "according to the rules this should be closed". Yes, I do respect the rules, but sometimes they need to be broken. See:
Also, try to come up with a (semi-)solution to:
- Regex - don't feed them - teach them how to fish
- Quality problems in regex answers
- https://meta.stackexchange.com/questions/188408/why-arent-these-give-me-teh-regexz-questions-closed
Some comments on comments
Why is this a question? This is a (very good) blog post. If this has to be on Stack Overflow it should be in the tag wiki for regex.
I wrote it to solve a problem like described above. There's a lot of blog posts about regex on the Internet. If I ever wrote one, it should be an advanced one. It's not in the tag wiki since:
- We won't be able to close as duplicate
- Have you ever seen someone read it?
You should have at least asked on Meta Stack Overflow before doing something like this.
I didn't ask on Meta Stack Overflow, but I did ask in Tavern on the Meta chat room. Also on several other chatrooms like PHP, Regex, C++, etc. Most of them told me to just post the question and see what will happen. Someone told me it's redundant since there is regular-expressions.info. Anyway, I did ask around.
This is incredible. What about links to the obviously-great and official off-site resources? For instance, Sun's page on greedy vs. reluctant vs. possessive, and the Pattern JavaDocs?
I'm trying to make it as on-topic as possible.
It's not a question. I know, try to come up with a (semi-)solution. At least I tried.
This is a Q&A site. This is not GameFAQs. This is not a wiki. Our job is not to collect and reorganize data. Our job is simply to answer the questions that we are asked.
while this is true and certainly logical for a tag that has ~160 questions it's not really comparable to a tag that has 85K questions. We need a reference.