Page 1 of 1

Regex Tutorial

Posted: Wed May 18, 2005 2:49 pm
by Matridom
I'm looking for a good tutorial on how to create regex's for spamfilters.

I did not see anything in the faq, nor in the documentations (just complete examples on how to add the spamfilter to the server)

The examples i see here are a good start, but i would like an explanation of how the different characters affect the ban.

Posted: Wed May 18, 2005 3:12 pm
by Syzop
Hm. Did you see the section about regular expressions in the docs A. Regular Expressions.
As for other docs, I tend to forget which I used to learn regex, but I just googled a bit (IIRC I often used this one but note that it uses perl regexes, not posix regexes, which can act a bit differently, so it's not something I would paste to everyone, but I do like the way it is written :).

Posted: Wed May 18, 2005 3:36 pm
by Matridom
Syzop wrote:Hm. Did you see the section about regular expressions in the docs A. Regular Expressions.
As for other docs, I tend to forget which I used to learn regex, but I just googled a bit (IIRC I often used this one but note that it uses perl regexes, not posix regexes, which can act a bit differently, so it's not something I would paste to everyone, but I do like the way it is written :).
Thanx, i had missed checking the regex section (was concentrating on spam filters)