On Tue, 2008-12-02 at 12:48 -0500, Ray Jette wrote: > Thanks again. > I am using the following rule: > /\bPO(?:\b|\d)/i > This rule working when matching 'PO' but it will not match 'po'. It ends > in a /i so I can't see why this would not work.
The rule is just fine, and it does match lower case, too. $ echo Subject: PO | spamassassin -L \ --cf='header TEST Subject =~ /\bPO(?:\b|\d)/i' | grep ' TEST' * 1.0 TEST TEST $ echo Subject: po | spamassassin -L \ --cf='header TEST Subject =~ /\bPO(?:\b|\d)/i' | grep ' TEST' * 1.0 TEST TEST Actually using something else in your cf files? Forgot to restart a daemon? Anyway, I would stop caring about that rule and chase the missing mail. Where did it go? -- char *t="[EMAIL PROTECTED]"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}