> # Take off points for possible mailing lists > header FNET_MAILING_LIST Subject =~ /\[*\]/i
Well, this effectively hits anytime there is a closing bracket, nothing else is taken into consideration. "Any occurence, even 0, of [, followed by ]." There is just a . missing (or similar placeholders for a valid char): Subject =~ /\[.*\]/ Notes: Case-insensitiveness is not needed. You probably wanna force a char by using + rather than *. And a word char \w is even more appropriate, than any char but newlines. ...guenther -- 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; }}} ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk