I just recently got downvoted twice because I posted an answer that was similar, note not the same, as an existing one a couple of minutes beforehand. I also only saw the other answer after I finished writing mine up.
My answer consisted of this regex:
@[A-Za-z]+@[A-Za-z]+@
Whereas the other answer consisted of this one:
[@][a-z@]+[@]
There are 2 main differences between the two:
- Mine allows for uppercase letters
- Mine will only accept input in the form of
@word@word@
whereas the other one will accept any number of@
s in the input and even@@@
Also since I posted, and whilst in the grace period, I edited the answer to include an extra, more constrained, solution. Although I am unsure if the downvotes came before or after the edit.
What is the policy on similar answers? Leave them be as is? Suggest an edit to the other one? Comment on the other one? Other?
I know users are free to downvote as they wish but were two downvotes on what was only a similar answer justified?