This was discussed on one list last week, and it should work if you add
an extra set of quotes:
save-hook '~C "nanog@(nanog|merit)\.(edu|org)"' +nanog
randy
On Thu, Feb 10, 2000 at 09:48:08AM -0600, freix wrote:
> Heya muttsters-
>
> side note.... it seems every day i find a new facet to mutt, tweaking it
> is becomming one of my fave stress relievers =)
>
> issue: One of the mailing lists I'm on has two domains
> merit.edu
> nanog.org
>
> i have
>
> save-hook "~C nanog@(nanog|merit)\.(edu|org)" +nanog
>
> as the epxression, and when i start mutt it says:
> Error in /home/freix/.muttrc, line 245: Unmatched ( or \(
> source: errors in /home/freix/.muttrc
>
> This is very similar to how i have all my $alternates setup, but this
> one doesn't seem to like it. Again, same as last issue, if I do it on
> two seperate lines it works no prob, but I'm sure there's a more elegant
> way of doing it.
>
> Anyone feel free to smack me with the hammer of enlightenment.
>
> Thanks for you time!
> -derrick
> --
> .~. ~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~
> /V\ KeyId 1024D/2AB39B99
> // \\ 20B5 BE61 3E0D 81C2 E065 94FF 8856 90A2 2AB3 9B99
> /( )\ Call me insane one more time and I'll eat your other eye!
> ^`~'^ '~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'
--
Five hundred, twenty-five thousand six hundred minutes, how do you measure...?
[EMAIL PROTECTED] http://www.louisville.edu/~rjmill01/
Triangle Fraternity http://www.louisville.edu/rso/triangle/
Association for Computing Machinery http://acm.louisville.edu/