procmail
[Top] [All Lists]

matching variables

2001-12-06 05:32:09
Hi there -

Two quick questions:

a) I'd like to filter out all e-mails containing "Ed" either in the header
or the subject line. Since .*ed would match a *lot* of words, I was
thinking of using \<ed\>.
Would the latter way work? Or maybe I can avoid the trouble of matching to
much by insisting procmail to look on case-sensitive. BTW, would \<ed\> be
sufficient or .*\<ed\> ?

b) If I scan the body, the "varible" line, like any other "variable" line,
starts with an asterisc *. Can I do the following:
* .*(goofy|micky) or will the .* right after * cause confusion?

Thanks!

-- 
CU, Niko
*Draft beer, not people*

_______________________________________________
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>