> -----Original Message----- > From: Loren Wilton [mailto:[EMAIL PROTECTED] > Sent: woensdag 1 november 2006 15:11 > To: users@spamassassin.apache.org > Subject: Re: Inconsistent scoring > > > Also, while I've never seen it done, I think it is > theoretically possible to have spaces on either side > of the equal sign. So the regex really should > probably be: > > > rawbody IMG_SRC_CID /src\s*=\s*"?cid:/i
Well, that matches newlines, too (really, even without /m). So, you want: rawbody IMG_SRC_CID /src[ \t]*=[ \t]*"?cid:/i And if we're really nitpicky, we want to match "src" on a boundary: rawbody IMG_SRC_CID /\bsrc[ \t]*=[ \t]*"?cid:/i - Mark