Nah... (and admittedly I didn't know this before! - I am not a regex guru)

^ contained inside [] denotes the inverse of the character set... the *
after it says many...

so a set containing any character that is NOT ) - basically skip every
character until ) ( which is what the \) that follows the * is for...

Gordon says (and I've heard this before) that .* in a regex makes it
slower - so this more explicit repeat until pattern is more efficient.

m/

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mirko
Zeibig
Sent: Thursday, January 08, 2004 12:17 AM
To: [EMAIL PROTECTED]
Cc: Mitch (WebCob)
Subject: Re: [courier-users] Seeming issue between SA & courier... WAS
RE: [SAtalk] RCVD_IN_DYNABLOCK,RCVD_IN_SORBS in 2.61 when sending myself
a test message?


I guess you have to escape the parenthese in the square brackets as well:
\(AUTH: [^\)]*\)

Regards
Mirko





-------------------------------------------------------
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
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to