Al Danks said:
> Kelson Vibber <kelson <at> speed.net> writes:
>
>>
>> At 12:07 PM 3/25/2004, Al Danks wrote:
>> >body CTS_ESTS /\bbest\b.{0,20}\bbest\b.{0,20}\bbest\b/i
>> >...
>> >We have the best prices! We have the best delivery! We provide the best
>> >service!
>> >...
>> >The rule didn't trip.
>>
>> There's 21 chars between the first and second "best" and 26 between the
>> second and third.
>>
>
> User counting error. I changed the {0,20} to {0,60} and the rule tripped
> with
> the message in both formats.
>
> My maillog says cleam message (0.0/10.0) for spam:507 in 0.0 seconds. I'm
> not
> sure that tells us much about the processing time. A bigger x and a bigger
> message could be a different story.
>
> Now that I know how to do this rule I need to expand the \bbest\b to
> something
> like \bbest|biggest|largest|fastest|quickest|most\b and do another one for
> the -
> ers: better, bigger, larger, faster, quicker, etc. If we get those rules
> put
> together it would be interesting to see how they score against corpus.
> They
> might be useful in meta combination with some other rule(s).
>
> Thanks for pointing out the error.
>
> Al
>
Hi Al,
This may work....watch the line wraps, this should be one line:
/\b(?:best|most|(?:be[st]t|bigg|larg|fast|quick)(?:er|est))\b.{0,60}\b(?:best|most|(?:be[st]t|bigg|larg|fast|quick)(?:er|est))\b.{0,60}\b(?:best|most|(?:be[st]t|bigg|larg|fast|quick)(?:er|est))\b/iI think this should do it.... -matt
