It is my experience that it is both easier to read one expression, up to
a point, and more efficient for procmail because it is running fewer
instances of tests. The only time these are not true is when the long
expression is REALLY long. I would say that the moment the line becomes
difficult to read through on one screen, without scrolling back and
forth, then split it into more than one.
Thanks,
Chris
When i want to match on multiple addresses with the TO_ macro, is it
more efficient to match on One Big Regex:
:0:
* ^TO_([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])
destination-folder
or to match on Several Smaller Regexes:
:0:
* [EMAIL PROTECTED]
destination-folder
:0:
* [EMAIL PROTECTED]
destination-folder
:0:
* [EMAIL PROTECTED]
destination-folder
Is one method better than the other?
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug