procmail
[Top] [All Lists]

question Re: 'Simple recipe question' answer

1996-08-27 09:21:34

can you explain why he shouldn't use the .* after TO?  i don't understand
how it would work without that.

  -brandon


On Tue, 27 Aug 1996, Guy Geens wrote:

-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 27 Aug 1996, Morrison, Peter wrote:

I tried:
* ^TO.*p[^\ \t\n,;](_at_)domain\(_dot_)name

You are missing a * after the square brakets. Furthermore, you shouldn't 
use .* after ^TO, as ^TO already ends in something equivalent (but 
better) to this. So your condition becomes:

* ^TOp[^\ \t\n,;]*(_at_)domain\(_dot_)name

- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or 
use keyserver) 

         "The human hearts that I have taken into Hell..."



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMiKfaXwHoCha5QR1AQE9SQIA0YXqQYrZjAW8MWk/VR5+MeokXrZhtZcd
FI0ZGvNPs6Hg1ZTG9rwqI0TZMko33oLpsIJxCv7wWiwyyU7et23SZg==
=vnTA
-----END PGP SIGNATURE-----



<Prev in Thread] Current Thread [Next in Thread>