Page 1 of 1

I need a second set of eyes to check this expression.

Posted: Thu Jul 17, 2008 6:17 pm
by JRBlood

Code: Select all

/spamfilter add u gzline 90d Bot_Flooder ^(?-i)[a-z]{5}[0-9]{2,3}+![a-z]{2}+@[^:]+:[a-z]{2}
Did I do this right? It should block bots like:

Code: Select all

mqxcg245 ([email protected]) (oq)  
ytyof63 ([email protected]) (ye) 
seayb449 ([email protected]) (xs) 
owjgy543 ([email protected]) (ab)
hywgz622 ([email protected]) (ge)
vnjbc271 ([email protected]) (mt)
qpgyy823 ([email protected]) (wl)
mgfxk940 ([email protected]) (jm)
Note that one of them has only 2 digits in the nick (There were more than just this one).

Re: I need a second set of eyes to check this expression.

Posted: Thu Jul 17, 2008 8:27 pm
by Jobe
Try using the regex:

Code: Select all

^(?-i)[a-z]{5}[0-9]{2,3}!~?[a-z]{2}@[^:]+:[a-z]{2}(?i)$

Re: I need a second set of eyes to check this expression.

Posted: Fri Jul 18, 2008 1:12 am
by JRBlood
Tks. I'll take a closer look at what you did compaired to mine. I should be home by now ;)