On 2000-06-29 14:46:31 +0800, Wari Wahab wrote:

> > color body brightyellow  default    " \([A-Z']{2,}[ ,]*\)+"

As a general rule, try to avoid regular expressions which
nest multiple instances of "+" and "*".  They tend to take
very long to apply.  

Note, BTW, that the grouping and the trailing + are not
needed in this case (mutt does something which has the
effect you intend to achieve with hthis), so you may wish
to try this one instead:

  color body brightyellow default "[-A-Z'][-A-Z'][-A-Z']*[ ,]*"

It should work considerably faster.

Reply via email to