tags 409908 moreinfo
thanks

Re: Erwan David 2007-02-06 <[EMAIL PROTECTED]>
> I get the following errors when starting
> Error in /home/edavid/.muttrc, line 158: Unmatched ( or \(
> Error in /home/edavid/.muttrc, line 159: Unmatched ( or \(
> 
> with lines 158 and 159 being
> send-hook "[EMAIL PROTECTED](logic|labs)" set signature=~/.signature-courte
> send-hook "[EMAIL PROTECTED](logic|labs)" my_hdr From: Erwan David <[EMAIL 
> PROTECTED]>
> 
> where ( is matched.

Hi Erwan,

thanks for the report.

This behavior is intended (though admittedly confusing) - the culprit
is the | that gets parsed on a higher syntax level, your regexp is
parsed as

  [EMAIL PROTECTED](logic  |  labs)

Try the following:

  send-hook '[EMAIL PROTECTED](logic\|labs)' set signature=~/.signature-courte

(Note the single quotes that prevent \| from being replaced by |
before the regexp code sees it.)

Does that work for you?

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to