On Sun, Jul 25 1999, at 02:36 -0500, David DeSimone wrote:
>Marco Goetze <[EMAIL PROTECTED]> wrote:
>>   set alternates=brian@(darkstar\.)?brie\.com
>Something I've been wondering lately...
>
>Is the above proper quoting?  That is, are the backslashes correct?
>
>Doubtless the intent is to quote the '.' characters so that they are
>interpreted as literal dots.  But as I understand Mutt's quoting
>algorithm, the first pass of Mutt reading the .muttrc file will remove
>the backslashes, making the regexp come out essentially to
>"brian@(darkstar.)?brie.com", which will probably work, but is
>technically incorrect.
>
>So what is really needed is this, right?
>
>    set alternates=brian@(darkstar\\.)?brie\\.com

As a quick test indicates, you're obviously right.  Funny thing I never 
noticed my unquoted "\." sequences were always interpreted as "."'s. %-]

Thanks for pointing this out.


Marco

Reply via email to