[Linux-disciples] Mutt seems to have what I'm looking for

Chung-chieh Shan ccshan at post.harvard.edu
Fri Nov 5 09:43:42 EST 2004


On 2004-11-05T09:30:55-0500, Stephen R Laniel wrote:
> /*
> Pattern Modifier
> 
> Note that patterns matching 'lists' of addresses (notably
> c,C,p,P and t) match if there is at least one match in the
> whole list. If you want to make sure that all elements of
> that list match, you need to prefix your pattern with ^.
> This example matches all mails which only has recipients
> from Germany.
> 
> ^~C \.de$
> */
> 
> So I should be able to do something like
> 
> send-hook '^(~C adam at rosi-kessel.org | ~C slaniel at laniels.org)' 'set pgp_autoencrypt=yes;set pgp_autosign=yes' 

Perhaps ^ can only apply to a single pattern (i.e., ^ must be followed
immediately by ~), not a set of parenthesized patterns.  I hope it
is possible for you to put all your addresses in the same regular
expression.

-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Institutions are only as good as the people who are committed to them.

US blogger Markos Moulitsas: A Bush re-election would galvanise the opposition 
http://guardian.co.uk/print/0,3858,5054048-114515,00.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20041105/3e91642c/attachment.pgp


More information about the Linux-disciples mailing list