Thanks for the great hack. My moderators love it.
My forums are multilingual with people posting in Spanish, French and Italian. This hack, as it is written stops someone from ending a sentence with a period and starting the next sentence with com, such as como/comment/come. All these mean "how" in these other languages! (An important word for those asking questions.)
To fix this, remove the first (\s*) from "(\.|dot)(\s*)(c(\s*)o(\s*)m" in the last preg_match. At least this worked for me!
|