Re: send-hook RE question
On Thu, Aug 25, 2005 at 09:23:28PM +0100, Chris Green wrote:
> I'm trying to set up a send-hook RE that will match a number of
> strings using the | character. I.e. I have a send-hook like:-
>
> send-hook "~t adr1|adr2|adr3|adr4" unmy_hdr reply
>
> However all I get is:-
>
> Error in /home/chris/.mutt/muttrc, line 86: error in pattern at:
> adr1|adr2|adr3|adr4
>
> Can I not use this sort of RE in a send-hook?
>
OK, sorry for the noise, I worked it out. It needs to be:-
send-hook "(~t adr1 | ~t adr2 | ~t adr3 | ~t adr4)" unmy_hdr reply
at least the above works, there may be other ways of doing it.
--
Chris Green (chris@xxxxxxxxxxx)
"Never ascribe to malice that which can be explained by incompetence."