Le Tue  6/02/2007, Christoph Berg disait
> 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?

It works fine. Thank you.


-- 
Erwan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to