I recently provided this answer (screenshot for <10k users) to a question about a regex, and it received a downvote fairly quickly. I'd rather get ahead of bad posting habits if I can, so I was curious as to how I could've done better.
I had a couple thoughts on what might have gone wrong, but I'm not too sure about any of them:
- Maybe the question wasn't focused or researched enough and I shouldn't have answered at all.
- Maybe my answer was too similar to some of the comments, which I didn't see until after posting.
- Maybe I should've provided more detail or explanation in my answer.
- Maybe part of my explanation was factually incorrect.
Is there something I should be doing differently? Was this question worth answering in the first place?
(Note: I have since deleted the post. Whether I absolutely needed to is debatable, but the question got closed and the answer wasn’t doing much good anyways.)
.*
won't stop at the first double quote, but...I have a hunch that wouldn't have made a difference to whomever the voter is. Your answer was downvoted within 2 seconds of a downvote on the question, so it's likely (but not certain) that the downvote was related to someone not liking the question.