[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

regexp help

I'm using animail and spamassassin on my mail now, with -some- success
on spam, but need help with animail's ~/.animail/filter file.  It can be
filled with regexps for mail blocking, but I'm a regexp newbie and can't
find how the heck to do an "and" in a regexp.  "or" is easy, but _is_
there an "and" function for regexps?

Right now my filter file is simple, like this:


...but I'd like to be able to block subject lines or bodies that have,
say, 'celeb' and 'sex' in any order.

Pointers or even rtfms that point to the right fms would be appreciated.

dave w

Reply to: