On Thu, Jan 08, 2004 at 05:53:53PM -0500, WA9ALS - John is rumored to have said: > > header MY_CUSTOM_RULE Subject =~ /texttolookfor/i (I used the text I > wanted, which included square brackets - Is that a problem? - e.g. [text to > look for])
Square brackets are special characters within a regular expression. If you want to reference them literally, you need to "escape" them by preceding them with a backslash, i.e. Subject =~ /\[texttolookfor\]/i HTH, Steve -- "I don't feel good." - The last words of Luther Burbank (1849-1926) ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk