After upgrading to 3.1, I am receiving a warning about a useless /g regex 
modifier in the de-token rules as generated by 
http://www.wot.no-ip.com/cgi-bin/detoken.pl

(These are custom-generated rules to look for listwash tokens for your 
domain).

The warning is:
[19609] warn: Useless (?g) - use /g modifier in regex; marked by <-- HERE in 
m/(?sg <-- HERE )<\/body>.{0,100}westnet.{1,3}com/ at 
/usr/local/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/Conf/Parser.pm line 
909.

It seems to be from this rule:
#domain outside body
rawbody W_UNENC_3R              /<\/body>.{0,100}westnet.{1,3}com/sg
describe W_UNENC_3R             Listwash token - Domain name after body
score W_UNENC_3R                3.0


I'm not sure looking at this if this is a perl warning about the code 
itself, or a warning from SA after it parses this, and if the uselessness is 
inherent in the regex, or something introduced by the new version of SA.


==========================================================
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/

Reply via email to