Hi ME2, > So, hopefully you can now make sense of how/why this matched your email.
To be honest: No. You mean the hit isnt landed in the Header? Wont make sense to have a problem with the word "Subject:" in a mailheader. For now I took of that regex from the line - without understanding why A confused Christian Rehkopf > -----Ursprungliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Micheal Espinola Jr > Gesendet: Donnerstag, 20. September 2007 20:06 > An: Questions and Answers for users of ASSP Anti-Spam SMTP Proxy > Betreff: Re: [Assp-user] False Positive, but why? (Black Re) > > > On 9/20/07, Christian Rehkopf <[EMAIL PROTECTED]> wrote: > > > http://[\w\.]+@|\w<[a-z0-9]+[abcdfghjklmnpqrstuvwxyz0-9]{4}[a- z0-9]*>|su > bject: [^\n]* \S There are multiple regular expressions (regex) there, delimited it a pipe character ( | ). The pipe is used as an alternation, or OR expression. The last regex is your match problem: ---------- subject: [^\n]* \S ---------- Lets break it down: ---------- subject: = match "subject: " [^\n] = dont match a newline (LF, NL). ^ in a class match (whatever is in brackets) makes it a negative match. \n is a newline metachacter * = match 0 or more times (so, no new lines 0 or more times) " " (without quotes) - 5 blank spaces \S = match a non-whitespace character ---------- HTH -- ME2 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
