procmail
[Top] [All Lists]

Re: Sanity check please

2005-04-24 11:55:55


On Sun, 24 Apr 2005, Professional Software Engineering 
<PSE-L(_at_)mail(_dot_)professi(_dot_)(_dot_)(_dot_):

At 19:28 2005-04-24 +0430, Hossein Movahhedian wrote:

The following would catch exactly what's been written in compact form:
    * ^From.+"James".+<\*{7}[^>]+@>

er, that (7) bit is meaningless to procmail (and doesn't match the syntax
for a standard grep count operatior either).

Now I accept that it does not work with procmail becuase the procmail
experts say this. But I have tested the above with `egrep'
(or `grep -E'). Would you please provide me with a counter example
that I can test it with `egrep' on my system.
Finally one question: Basically, how can I test a regular expression
with procmail? A simple recipe please if possible. I am a beginner

Thanks,
Hossein

____________________________________________________________
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

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