Moderation standards have changed since the site was first created. You don't want to use something from 2011 as justification for why your question shouldn't be closed; the rules were different then. Also, sometimes an off-topic will fly under the radar. This site gets a ton of questions everyday and there aren't enough people moderating the site 24/7 to catch everything.
This is only speculation, but: Another thing that's different in your question than the other one is that the old question is only asking for help with one type of string. Your question is asking for a regex that will work with 3 different formats, which might be why you got the close reason that says, "Update the question so it focuses on one problem only". I don't know for certain that's why they closed it but that might have been their issue with it.
Someone commented saying I should show him how hard I tried first before I ask. Why?
There are a few reasons this is useful:
It helps people trying to answer avoid suggesting something that you already know doesn't work. It is extremely discouraging to come up with a solution and get "I already tried that" as a comment from the OP. Other users are very quick to downvote answers that get this comment as well.
It helps people trying to answer if they don't have to start from scratch. Something that only partially works is better than nothing. Even something that doesn't work at all will help people see how you approached the problem and can help them explain where you went wrong.
As El_Vanja said on your question, it's useful to others with a similar problem see what doesn't work and why.
Lack of effort is not a reason to close a question though
- is that entirely true? Can't this fall into at least one of the close reasons e.g. "Needs debugging details"