On Sun, Feb 03, 2002 at 03:38:18PM -0500, parv wrote: > hi, > > i tried... > > #color index brightwhite default "~C $alternates" > color index brightwhite default "~C (parv_@yahoo\.com|parv@(localhost|.*holy\.cow))" > > > ...i get error message while starting mutt... > > Error in /home/parv/cf/mail/mutt.cf, line 58: parentheses not balanced > > > ...i don't see how above regex for ~C could be invalid. when i tried > w/o end parentheses, i get... > > Error in /home/parv/cf/mail/mutt.cf, line 59: error in pattern at: >parv@(localhost|.*holy.cow) > > ...so, is not possible to specify a regex for ~C even though manual > suggests one can... > > ~C EXPR message is either to: or cc: EXPR > ... > In the above, EXPR is a regular expression.
Easily solved. This is due to mutt's weird parsing of its extended regexps that means the brackets get interpreted as part of the ~ patterns stuff instead of EXPR, try this color index brightwhite default "~C '(parv_@yahoo\.com|parv@(localhost|.*holy\.cow))'" -- Benjamin Smith <[EMAIL PROTECTED], [EMAIL PROTECTED]>
msg24162/pgp00000.pgp
Description: PGP signature