Robert Menschel <[EMAIL PROTECTED]> wrote:
> I use:
>
> header RM_tz_TooMany ToCc =~
> /,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,/
> describe RM_tz_TooMany List of recipients seems to exceed 20
> score RM_tz_TooMany 0.342 # 161s/46h of 97268 corpus
> (79437s/17831h) 01/24/04
> # max: 456 spam, 118 ham, Sep 5 2003
The regex is better written as
/(?:,.*){24},/
(which also shows that the number in the description doesn't
match the regex). It might be more efficient to use something
like this instead:
/(?:[^,]+,){24}/
(excluding commas from the stretches between the commas means
less backtracking when attempting to match).
--
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC