* On 02 Apr 2012, steve wrote: 
> 
> \\<(e|E)tch\\>
> 
> does exactly was I was looking for.

By way of explanation: the catch here is that because of mutt's parsing
rules with quotations, this expression is scanned twice and needs to
have the backslashes themselves escaped.  You'll find this often when
writing various rules, and if you start putting them into hooks you may
find that you need another couple depths of escaping.  (At such a point
it helps to source another muttrc rather than to embed all your commands
within the hook.)

-- 
David Champion • [email protected] • IT Services • University of Chicago

Reply via email to