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

Re: regexp help



On Thu, 2003-01-23 at 20:43, andrej hocevar wrote:

> [Which made my script almost think you were a spammer 8-)]
> 
Sorry about that :-)  It didn't occur to me, but I bet it was filtered
out on a lot of boxes!

> > 
> > ...but I'd like to be able to block subject lines or bodies that have,
> > say, 'celeb' and 'sex' in any order.
> What about this little trick: "/celeb.*sex|sex.*celeb/"?

That would work, but doubles the amount of work.  So, I guess
ultimately, there is no "and."  I can't say "this AND that" with a
regexp.

Oh well, at least it CAN be done!
-- 
Dave W <nospam2@starband.net>



Reply to: