3

I asked a question about how to work around an error : https://stackoverflow.com/questions/32113109/check-if-a-named-capture-group-was-found

While I waited for an answer, I played around my code, the error disappeared, my original code works. Wonders. Or maybe I had a typo in the original code, who knows.

Meanwhile, answers were made to not encounter that error. The answers are interesting, but the error actually doesn't happen. So I don't know if I should accept one of the answers, ask the moderators for deletion (can't delete it myself since it has answers) or something else ?

1
  • 2
    Seems to me that you didn't add quotes around your regexp, if so it would be closed as a typographical error. Aug 20, 2015 at 12:18

1 Answer 1

3

I suggest, keep the question as it is.

You should try to figure out what caused the error, and then make an edit to your question(if needed to explain the error again).

SO is known to provide best suggestions/answers possible and every good question is treated as an archive.

So, let the question be there. If needed, try to explain what your actual issue was. Also if you can figure it out, you can put a self-answer as well. That will state how you overcame your problem.

Or, if it is just a typo error, then somebody may flag it for a close.

6
  • 1
    As Spencer Wieczorek guessed in comment, it was probably a typo or something like that, since what I intended to do in the first place actually works without any fix needed. So I don't see how any usefull answer could be found.
    – Petit Lama
    Aug 20, 2015 at 12:24
  • Can he raise a flag on his own question?
    – Saswat
    Aug 20, 2015 at 12:25
  • I can only flag for moderator attention on my own post
    – Petit Lama
    Aug 20, 2015 at 12:27
  • Somewhere I saw people saying that flagging own posts for moderator attention isn't preferable. :(
    – Saswat
    Aug 20, 2015 at 12:29
  • 2
    I was under the same impression. As such, someone else should flag it. I'll make an edit to make clear I'm not waiting for an answer.
    – Petit Lama
    Aug 20, 2015 at 12:32
  • Yes, that seems the best solution. :)
    – Saswat
    Aug 20, 2015 at 12:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .