Re: regexp problem with parentheses

2002-02-28 Thread parv
in message <[EMAIL PROTECTED]>, wrote Louis-David Mitterrand thusly... > > After much struggle understanding mutt's quoting rules I finally came up > with that kind of stuff, which works: > > folder-hook =[a-z] score ~s'([ot]\\|newbie\\|off-topic\\|your\\\ >mail\\|(unidentified\\|no)\\\

Re: regexp problem with parentheses

2002-02-28 Thread Louis-David Mitterrand
On Thu, Feb 28, 2002 at 02:33:35PM +0100, Volker Moell wrote: > Scott wrote: > > trying to color entries in the index matching on the from field, I use > > the following: > > > > color index blue black '~f (Person1|Person2)' > > > > However, I get a 'parentheses not matched error' > > Try: > co

Re: regexp problem with parentheses

2002-02-28 Thread Volker Moell
Scott wrote: > trying to color entries in the index matching on the from field, I use > the following: > > color index blue black '~f (Person1|Person2)' > > However, I get a 'parentheses not matched error' Try: color index blue black '~f "(Person1|Person2)"' ^

regexp problem with parentheses

2002-02-28 Thread Scott
Hi all, trying to color entries in the index matching on the from field, I use the following: color index blue black '~f (Person1|Person2)' However, I get a 'parentheses not matched error' Also, the example in the doco: ~f ("Jim +Somebody"|"Ed +SomeoneElse") doesn't work (same error). TIA, Sc