Regex? |
Post Reply |
Author | |
Ebzed
Guest Group |
Post Options
Thanks(0)
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. |
|
George
Guest Group |
Post Options
Thanks(0)
|
Here is the url that is provided with the help file included with SpamFilterISP. |
|
MarvinFS
Guest Group |
Post Options
Thanks(0)
|
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:
001@1stdns.net
01@dqedu.net 06033971509-0001* 320052144390-0001@t-dialinnet 520099975562-0001@t-online.de arichter@mainpean.de ([_a-zA-Z\d\-\.]+%[_a-zA-Z\d\-]+(\.[_a-zA-Z\d\-]+)+)
arichter@starweb-service.de ads@mallpool.com angelica22lyximboorg7@hotmail.com annasvetcy59@hotmail.com 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.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.164 seconds.