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

Re: regex 101 misunderstanding



* On 2004.11.21, in <20041121132728.GN28792@xxxxxxxxxxxxxxx>,
*       "Patrick Shanahan" <wideglide@xxxxxxxxxxxxx> wrote:
> 
> 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'.

Regexes are normally case sensitive, but mutt's patterns compile
case-insensitive regexes if the pattern is all lowercase. If you use
any uppercase characters, the pattern creates a normal (case-sensitive)
regex.

So "rec" does match "Rec" if there's no other uppercase in the pattern.

-- 
 -D.    dgc@xxxxxxxxxxxx                                  NSIT::ENSS