<<< Date Index >>>     <<< Thread Index >>>

Re: regex 101 misunderstanding



* Jim <jimo@xxxxxxxxxx> [11-21-04 00:21]:
> I can't seem to get Mutt to limit mails displayed to just those with
> "jimo+blah" in a Received header.  I've tried variations on the
> following, with result "No messages matched criteria.":
> 
> Limit to messages matching:
> ~h received.*jimo\+
> ~h received.*jimo+
> ~h "received.*jimo\+"
> ~h received.*jimo\+blah
> ~h "received.*jimo\+blah"
> ~h "received.*jimo +"
> ~h "received.*jimo \+"
> ~h "received.*jimo +blah"
> 
> I've tried single quotes in place of the double quotes, tried a colon
> after the "received" and maybe a hundred other things.

Well, it does work.  Is 'Received:' really the header line you wish to
use or is 'From:'?  Note: the regex *is* case sensitive.  'rec' will
not match 'Rec'.

~h Received.*columbus\.rr\.com
and
~h Received.*mutt-users

both work for me.
-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711           Photo Album:  http://wahoo.no-ip.org/photos