On Tue, Feb 08, 2005 at 00:59:40, Tim Rice wrote:
In your message dated Mon, 07 Feb 2005 12:24:24 -0500 (EST), S.A. said that
...
If I have no inner brackets, wouldnt it be equivent to
* ^From:.*cmathew|horvath
I thought
* ^From:.*(cmathew|horvath)
would be the same as
* ^From:.*cmathew|horvath
Thanks again.
Birl
Just a guess here, the .*cmathew would get matched but the horvath would
have to be From:horvath to match. IE no whitespace or leading characters
after From:
Someone will correct me if I'm wrong - I hope.
Without any brackets, it assumes that the brackets are at the very beginning and
end of the regexp. So
* ^From:.*cmathew|horvath
is the same as
* (^From:.*cmathew|horvath)
not
* ^From:(.*cmathew|horvath)
At least that's what I've always assumed...
-Ben
--
Termisoc Secretary: http://www.termisoc.org/
Home Page: http://benalee.co.uk/
Public Key: BEC9DC1A
signature.asc
Description: Digital signature
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail