I'm looking for advice on how to configure the SmartFoxServer Word Filter to block messages containing mathematical Unicode characters—specifically the Mathematical Alphanumeric Symbols range (U+1D400–U+1D7FF).
I tried adding a regex like:
Code: Select all
(?:\uD835[\uDC00-\uDFFF])But it doesn’t seem to work, and even adding the fancy characters directly to the filter is not effective in all cases.
Question:
Is there a way (with regex or otherwise) to configure the Word Filter to block any message containing Mathematical Alphanumeric Symbols (U+1D400–U+1D7FF), or is it necessary to manually add every possible variant for each word?
Any tips or best practices on how to handle Unicode “fancy” characters in the Word Filter would be greatly appreciated!