Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Regex?
  FAQ FAQ  Forum Search   Register Register  Login Login

Regex?

 Post Reply Post Reply
Author
MarvinFS View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarvinFS Quote  Post ReplyReply Direct Link To This Post Topic: Regex?
    Posted: 17 May 2003 at 10:24pm

U may search any perl, python documentation for it. or just find any regexp tutorial for newbies in i-net. There also is a document called Regular_Expressions.htm in spamfilter's distribution package with some explanations on regexps.

As for using it in spamfilter, u may use regexps in any black/white lists where it's allowed (it's written in the top of each black/white list in comments), except keywords blacklist.

As for it's syntax, every single LINE of text in every single local list that is currently able to support wildcards will be treated as usual. But if any one of those lines of text starts with an open parenthesis '(', then that one single line will be tested using regexp rules.
 
So for example in your black email list, you can have:
 
and just that one regex line will be matched using regex. All other lines will be processed regularly with common fast matching.
 
For now regexps are VERY lack of performance, so use it with caution.
Back to Top
George View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote George Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2003 at 4:44am

Here is the url that is provided with the help file included with SpamFilterISP.

http://www.anaesthetist.com/mnm/perl/regex.htm

Back to Top
Ebzed View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ebzed Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2003 at 4:36am

Hi....,

Where can i find more info on how to use the regex with spamfilter?

i didnt saw any update,explenation on the docs...

 

 

Thanks,

Eran.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.047 seconds.