use of regex |
Post Reply |
Author | |
MarvinFS
Guest Group |
Post Options
Thanks(0)
Posted: 28 April 2003 at 12:57pm |
Roberto, wadda ya think? i know, u have some unformed desire to make use of coolest things ever regex may bring us to help our war with spam! :) now serious, it'll be cool to use regexs in blacklists, it will become WAY TOO intelligent that now. example, that's what i allways want to be in spamfiler - to block addresses with more than 3 digits in it here's regex for it ^\d{3,}\@.*$ - start of line then matches at least 3 copies of the any digit (\d) character than AT sign, then any number of any chars, till the end of the srting. I may wrongly use syntax but u got the idea... something like that! http://www.anaesthetist.com/mnm/perl/regex.htm so wadda ya think?
|
|
LogSat
Admin Group Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
Post Options
Thanks(0)
|
We had actually thought of allowing regular expressions when adding the keyword content filter, but then decided not to to simply things and for efficiency. Now that we added wildcard support, efficiency lost a bit of ground, so we may go back and add regex support as well. If so, we'll probably add an option to either use only regex expressions in ALL local black/white lists / keywords, or to keep everything as is. Roberto Franceschetti |
|
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.195 seconds.