procmail
[Top] [All Lists]

Weight & and Or

2002-06-26 13:18:40
Im trying to understand "and" "or" and weight.

I understand the simple 

(dog|cat).*house

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.)

((barely \
*legal|nude)*\
*(teen|slut))

or 

Say

(prostitute|viagra (adult|nude|live)\ (streaming\
|)video|feed)|live\ *(show|chat) |get \off|(adult|date)\
|over\ *21|adults\ *only|phone\ *sex)

I may have some of the sytax wrong in typing it out but here are my questions.


Im not exectly sure what they are looking for or how to score it.
Im not sure how (xxx|yyy) (aaa|bbb) interacts. If Im useing 2^1 and start with 
-2.

The second one is even more obtuse to me. I cat really make head nor
 tails of what for exeample \ is doing is this for a space or is it 
so the * is literal ?? and then (xx|zz)| yy | (aa|bb) then there is 
the (streaming \ |) line. Well that just confuses the heck out of me. 

I have run a variety of tests in my sand box but cant seem to figure 
it out. I have successfully used | or in may of my normal recipies 
but this is confusing. Can anyone help to clarify things a bit.



____________________________________________________________
Win a first-class trip to New Orleans and vacation Elvis Style!.
Enter NOW!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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