Still the same:

02 Aug 2012 09:56:02 | WARN  Invalid pattern. Trigger: (?i)(^subject 
\:\s\[sign\]|^x-secure-sign \:\strue$)    
(mitm.application.djigzo.james.matchers.SenderHeaderTrigger) [Spool Thread #3] 
java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 34
\s\[sign\]|^x-secure-sign \:\strue$)

I also tried double bracing the regex from examples I have see on-line for 
groupings:

(?i)(^subject \:\s\[sign\])|(^x-secure-sign \:\strue$)
-- 
Thanks, Phil

----- Original Message -----
> Can you try to see whether escaping: works (I.e., using \: )
> 
> Kind regards,
> 
> Martijn Brinkers
> 
> ---
> Sent with DJIGZO for Android. Please excuse my brevity.
> 
> ----- Original message -----
> Am attempting to use the following signing regex trigger:
> 
> (?i)(^subject :\s\[sign\]|^x-secure-sign :\strue$)
> 
> but when I review the log file I am seeing:
> 
> 02 Aug 2012 09:25:03 | WARN Invalid pattern. Trigger: (?i)(^subject
> :\s\[sign\]|^x-secure-sign :\strue$)
> (mitm.application.djigzo.james.matchers.SenderHeaderTrigger) [Spool
> Thread #0]
> java.util.regex.PatternSyntaxException: Unmatched closing ')' near
> index 33
> \s\[sign\]|^x-secure-sign :\strue$)
> ^
> The braces match so am missing why the parser believes they are
> unmatched ?
> 
> --
> Thanks, Phil
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.djigzo.com/lists/listinfo/users
> 
> 
_______________________________________________
Users mailing list
[email protected]
http://lists.djigzo.com/lists/listinfo/users

Reply via email to