Eval's return true/false if I'm not mistaken.
Yes, they do.. But I suspect perl is like C, where any nonzero return value is "true".
So it's less useful than it appears to return a count, but not harmful.
It's probably better style to do what most of the standard Eval tests do, and do a conditional and return 1. This way you could also increase the threshold to something greater than 1 instance of punctuation surrounded by letters.
So any line with a comma or period would hit.
No, any line with a comma or period sandwiched between two alpha's would hit.. no spaces allowed, no end-of-line's allowed in between. (sa does remove EOLs from body text, but I believe they are replaced by spaces. Otherwise rules wouldn't work very well).
ie:
this. will not hit
this.will hit
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk