|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: 2 cleanups?
Victor.Duchovni
morganstanley.com
Date: Tue Jun 24 2003 - 09:11:11 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 24 Jun 2003, Kim Emax wrote:
>
> They´re very simple, for example:
>
> /^Subject: .*E-a-r-n.*/ REJECT No spam allowed (H8)
>
You don't need (want) the trailing ".*"
> /.*( N-BC| C-BS| C-NN| Oprah).*/ REJECT No spam allowed (B5)
You DEFINITELY don't need the leading ".*" or the trailing ".*". This is
very inefficient with many regexp libraries (match time quadratic in the
length of the input string).
--
Viktor.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]