On Wed, Nov 14, 2007 at 05:35:58PM +0100, Eric Smith wrote: > Michael > > To my understanding, > this makes every address listed in the recipients_list lowercase > but does not solve the problem that in the email header, the > address might have unpredictable case. > > So I want the recipe to match any case in the header.
The manual has this to say (note the second paragraph): | 1. Regular Expressions | | All string patterns in Mutt including those in more complex patterns | must be specified using regular expressions (regexp) in the ``POSIX | extended'' syntax (which is more or less the syntax used by egrep and | GNU awk). For your convenience, we have included below a brief | description of this syntax. | | The search is case sensitive if the pattern contains at least one upper | case letter, and case insensitive otherwise. Note that ``\'' must be | quoted if used for a regular expression in an initialization command: | ``\\''. So lower-casing the pattern should have the desired result. BTW, you might try `tr A-Z a-z < ~/recipients_list` (or some such) instead of invoking a Python script. Paul. -- Paul Hoffman <[EMAIL PROTECTED]>
