Hello.
I have banned the use of other languages using RegExp
Adding expressions like /[\u0080-\u00FF]+ to the blacklist.
But I met a problem. It consists in the fact that some characters are used in all languages. For example, ° - when a person tells what the weather is like. Or other characters that are included in the forbidden block.
My question is: Is it possible to make exceptions?
For example /[\u0080-\u00FF]+ is forbidden, but U00B0, U00F7 and U01C3 are allowed
How do I write this?
Add an exception (with RegExp)
14 replies
Yes, I considered it, but it didn't suit me.
This is where we discussed it
You can use the Public Unicode Character Map to find the sets you wish to allow, for example ° is in Latin-1 Supplement.
https://www.twitch.tv/simferoxp
Just watch the chat
Symbols ° Ë ë must be allowed, other characters are prohibited
The bot gives a message every minute.
Didn't find your answer? The community is on Discord.
Ask on Discord