On 13 March 2002, Kerry Nice said: > Very cool. But it only worked when I changed it from body to rawbody. > I assume that is because it is at the very end of the message. > > rawbody UNIQUE_BODY_ID /^(?:(?:[\w\d]{7,}-)+)[\w\d]{7,}$/ ^^ ^^
The \d's there are unnecessary, as \w includes digits. That means a character class is not needed, so the regex simplifies to rawbody UNIQUE_BODY_ID /^(?:(?:\w{7,}-)+)\w{7,}$/ Greg _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk