Ian Douglas wrote:
> Daniel Carrera wrote:
> > Like wise we can go on with more consonants:
> >
> > score     MY_CONSONANT_4  0.15
> > score     MY_CONSONANT_5  0.30
> > score     MY_CONSONANT_6  0.60
> > score     MY_CONSONANT_7  1.20
> > score     MY_CONSONANT_8  2.40
> 
> Dumb question from a rules newb: does adding a _# at the end
> automagically make SA count occurences?

You missed the important part which was in Daniel's message.  I will
reproduce it here.

| body      MY_CONSONANT_4  /[^aeiou]{4}/

The counting is done by perl's regular expression code.  See the "{4}"
in the expression?  That matches exactly four of the previous
pattern.  The _# is just part of the name and in this case the name
matches up with the number counted in the perl RE.

Bob


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to