Recently, I posted a question about automatically paraphrasing sentences in JavaScript using regular expressions, and answered the question as soon as I posted it. Soon afterward, my question got two downvotes (and 0 upvotes), and a couple of users asked me not to answer my own questions, despite the fact that self-answering questions is encouraged on Stack Overflow. It also appears that someone voted to close this question.
I'm really surprised by the negative reception that this question has gotten, considering the amount of effort that I put into its answer. Is there anything truly wrong with the format of this particular question?