Fair enough, but the filter already exists in Discourse, even if you aren’t using it personally. Also, keep in mind (in response to your blog post) that the Discourse filter doesn’t replace strings, it masks them with squares. ![]()
Regexes are inherently difficult, so I’m not necessarily proposing that you ask everyday users to use them as the mainstream use case. The current system works fine for most cases, but there’s no way to surefire way prevent people from posting most common email addresses. (I am not interested in the debate on the “perfect” email regex.)
Meanwhile, I’m simply blocking some of the most common domain names like @gmail.com, @yahoo.com, etc.
I am not interested in letting perfect get in the way of good here. Just trying to prevent the most common occurrences.