On Wed, 26 Jun 2002, S Semple wrote:
Im trying to understand "and" "or" and weight.
I understand the simple
Which I think should catch doghouse or cathouse or cat house or dog
house. But not just house or cat or dog for that matter.
However Im confused when I see things like, (I have removed some
words to shorten it.)
The parentheses can be nest. The "\" in the end of the line means:
the continue is in the next line, that is:
Dabble "*"'s is just like one.
(dog|cat) (house|food) will give you the four options.
(dog|cat)* (house|food) will give you the four option _AND_:
" food" or " house" or "dogdog food"
Procmail man pages will not help you. The answers are in egrep(1)
man. Try and play with egrep from the command line before you start
building recipes, then read the procmail's man about some difference
Example how to play with egrep from command line:
echo "dooog house" | egrep '(do*g|cat) (house|food)'
BTW. when I see things like barely legal nude I'm confused too.
procmail mailing list