Page 1 of 1

nick regex for 8 chars all caps not working?

Posted: Wed Jan 09, 2008 3:34 am
by outz
hello. i am trying to create a regex for nick 8 chars all caps... it looks correct to me, but it affects 8 chars, caps or not.. and anything above 8.

Code: Select all

spamfilter {
        regex "^([A-Z]){8,}";
        target { user; };
any idea?

Re: nick regex for 8 chars all caps not working?

Posted: Wed Jan 09, 2008 4:16 am
by Stealth
If you're trying to block spammers that look like: JVQOMUTF is "DINKYHQB" ([email protected]), you can find the solution here: http://forums.unrealircd.com/viewtopic.php?f=18&t=4961

If not, you can use the regex in that post as an example to see what you're doing wrong.