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

These are old archives. They are kept for historic purposes only.
Post Reply
JRBlood
Posts: 12
Joined: Sat Apr 12, 2008 8:20 pm
Location: Syracuse, NY USA
Contact:

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

Post 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).
Image
RaveTrax.com - "Its not a state of mind, Its a way of life."
» Audio Streams - MP3 - 160k MP3 - 64k MP3 - 24k MP3
» Audio Streams - AAC+ - 64k aacPlus v2 - 24k aacPlus v2
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

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

Post by Jobe »

Try using the regex:

Code: Select all

^(?-i)[a-z]{5}[0-9]{2,3}!~?[a-z]{2}@[^:]+:[a-z]{2}(?i)$
Your IP: Image
Your Country: Image
JRBlood
Posts: 12
Joined: Sat Apr 12, 2008 8:20 pm
Location: Syracuse, NY USA
Contact:

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

Post by JRBlood »

Tks. I'll take a closer look at what you did compaired to mine. I should be home by now ;)
Post Reply