On 2022-09-02 17:42, Todd Zullinger wrote:
> Tim Chase wrote:
>>  color index reverse brightblack black "~h ^(delivered|envelope)-to:\ 
>> +[0-9a-f]{5,}[.][0-9a-f]{5,}@mydomain.com)$"
>> 
>> Mutt complains
>> 
>>  Error in [my muttrc]: '^(delivered': parentheses not balanced
>> 
>> which looks like the "|" is getting higher precedence than the
>> parens.
> 
> Quote the pattern, as you would if using ~h in a limit
> statement:
> 
>   color index reverse brightblack black "~h '^(delivered|envelope)-to: 
> +[0-9a-f]{5,}[.][0-9a-f]{5,}@mydomain.com)$'"

Ah, that double-quoting is what I missed.  Works like a charm.

Thanks so much!

-tkc

Reply via email to