On Mon, 1 Mar 2004, Bob George wrote:

> header MY_SPAM_1 X-MessageWall-Score: =~/(1[5-9]|[2-9][0-9]).*/
> describe MY_SPAM message wall scored between 15 and 99
> 
> work?

Almost.

Nobody has pointed this out yet, but the ".*" is extraneous at the end of
the regexes suggested by nearly everyone so far.  The above will match not
only 15-99, but also 115-999, 1015-1099, 1115-9999, 23skiddoo, and so on.

Try

header MY_SPAM_1 X-MessageWall-Score: =~ /\b(1[5-9]|[2-9]\d|\d{3,})\b/

Reply via email to