procmail
[Top] [All Lists]

Matching with \<

1997-05-30 10:00:00
I have had some results which I do not understand while working with a 
scoring recipe. The problem is distilled in the following two examples. 
I am using v3.11pre4.

In the first example, the score of 121 is computed as 2 + 4 for dong and
the first bing(o), + 5 for dong, + 10 + 100 for bingo bingo. Since scoring
uses a shortest match, there is no score of 8 for the second bingo. 

====Example 1====
This message scored 121 on
:0 H B
* ::score::
*  2^2  ^.*\<(b|d)(i|o)ng
*  5^5  (b|d)ong
* 10^10 bingo\>

+To: rik
+Subject: ::score::dong
+
+ bingo bingo
+

In example 2, the score of 11 is computed as 2 + 4 + 5 as in example 1,
but there is no score for either bingo. 

====Example 2====
This message scored 11 on
:0 H B
* ::score::
*  2^2  ^.*\<(b|d)(i|o)ng
*  5^5  (b|d)ong
* 10^10 \<bingo\>

+To: rik
+Subject: ::score::dong
+
+ bingo bingo
+

In both messages, there is a space before each bingo, and a new line after
the second. Is this a problem with pre4, or with my understanding and 
expectations?

-- 
________________________________________________________________________
Rik Kabel          Old enough to be an adult              
rik(_at_)netcom(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>