regex help

These are old archives. They are kept for historic purposes only.
Post Reply
Git
Posts: 6
Joined: Sat Jul 08, 2006 10:47 pm

regex help

Post by Git »

<alidis> an.a.n.ı.z.ı. s.i.k.e.r.i.m.
<alidis> an.a.n.ı.z.ı. s.i.k.e.r.i.m.
<alidis> an.a.n.ı.z.ı. s.i.k.e.r.i.m.
<alidis> an.a.n.ı.z.ı. s.i.k.e.r.i.m.
<alidis> an.a.n.ı.z.ı. s.i.k.e.r.i.m.

regex code please ?
tdw
Posts: 105
Joined: Sat Aug 06, 2005 12:40 pm

Post by tdw »

Code: Select all

spamfilter {
   regex "an\.a\.n\.ı\.z\.ı\.  s\.i\.k\.e\.r\.i\.m\.";
   target private;
   action gzline;
   reason "G-Lined: IP Banned for spam.";
};
Git
Posts: 6
Joined: Sat Jul 08, 2006 10:47 pm

Post by Git »

i know it but . . . . . . . .
ba.b.a.b.a.n.z. s.k.i.e.r.m
if 7 dot in one sentences ?

i thing

Code: Select all

/spamfilter add cN gline +0 Küfür [-.]+[-.]+[-.]+[-.]+[-.]+[-.]+[-.]+[-.]
Git
Posts: 6
Joined: Sat Jul 08, 2006 10:47 pm

Post by Git »

yeap i found it
/spamfilter add cN block +0 4Saldırı [.\].?+[.\].?+[.\].?+[.\].?+[.\].?+[.\].?+[.\].?+[.\].?+[.\].?+[.\].?
;)
tdw
Posts: 105
Joined: Sat Aug 06, 2005 12:40 pm

Post by tdw »

you didn't say the text was random. next time, some more info would help ;)
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Git. Check your regular expression. It is invalid. The [s never end, so the regex never ends.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply