Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - use of regex
  FAQ FAQ  Forum Search   Register Register  Login Login

use of 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: use of regex
    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?

 

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4104
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2003 at 4:06pm

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
LogSat Software

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.195 seconds.