On Wed, 10 Aug 2005 fleet(_at_)teachout(_dot_)org wrote:
On Wed, 10 Aug 2005, Jason Joines wrote:
How do you include a space in a condition?
Isn't is simply?:
* .*\ cialis\ .*
* [ ]cialis[ ]
works for me.
Also:
* ( cialis )
Is ok too. It's a good opportunity to reminder the special
meaning of the empty string (). Sometimes we must separate
the flags from the string that we are looking for - we use ()
to do so. For example, if I'm looking for string which starts
with "<" (email address?) I can't write:
* <go(_at_)here>
because procamil will take it as "<" condition: if the length
of the message less then "go(_at_)here>" characters ... here
I'll use the empty string:
* ()<go(_at_)here>
Same with backslashes, "\" can be part of match operator, part
of end/begin word or escp-char, so, if I'm looking for "["
I'll write:
* ()\[
And of course, if the string start with spaces procmail will
ignore the spaces between the flags and the string, so:
* () space( out)? war
Bye,
Udi
- fleet -
____________________________________________________________
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
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
____________________________________________________________
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