matrix-org / mjolnir

A moderation tool for Matrix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Regex with wordlist protection

catfromplan9 opened this issue · comments

I get a lot of chinese spambots in my room. I tried a lot of regex with the wordlist protection to block all chinese for the first hour or non-ascii. Please improve the wordlist regex to allow for things like this. Here's what I tried and failed ro do: \p{Han} and [^\x00-\x7F]