Quantcast
Channel: UnrealIRCd Forums
Viewing all articles
Browse latest Browse all 58

Generic support • How to use unicode chars in spamfilter regex?

$
0
0
Spambots are often use hidden unicode characters to bypass hardcoded keyword spamfilter. I noticed unrealircd has a nice in build spamfilter feature. But I've trouble to get it working with regex and unicode characters.

But I'm getting error:

Code:

/SPAMFILTER add -regex cpNn gline - spam TE\x{200B}STError in regex 'TE\x{200B}ST': character code point value in \x{} or \o{} is too large (at character #9)
Regex is valid: https://regex101.com/r/iUSZCl/1

How I can solve that?

Statistics: Posted by R4tt — Thu Jul 06, 2023 12:10 pm — Replies 2 — Views 705



Viewing all articles
Browse latest Browse all 58

Trending Articles