<<< Date Index >>>     <<< Thread Index >>>

Re: send-hook RE question



* Chris Green <chris@xxxxxxxxxxx> [08-25-05 15:30]:
> 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?
> 

this works:    send-hook "~t adr[1-4]" unmy_hdr reply
       and:    send-hook '~t "adr1|adr2|adr3|adr4"' unmy_hdr reply

-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711          Photo Album:  http://wahoo.no-ip.org/gallery