procmail
[Top] [All Lists]

RE: regular exression question

2003-01-30 15:25:57


-----Original Message-----
From: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE]On Behalf Of 
Manojav Sridhar
Sent: 30. januar 2003 22:41
To: Procmail
Subject: regular exression question

in my recipies i am looking for emails from "deepa"
:0:
* ^(From).*deepa*
frequentmail/deepa

This recipie matched. even though there was is no "deepa" in the
from field, but

I think you should drop the last '*' - i.e.:

* ^From.*deepa

this would match any lines staring with 'From* and containg the letters
deepa.

I'm not 100% sure with your other questions - so I'll let somebody else pick
them up

F


--
Fredrik Rødland           ASTON Technology      Phone: +47 23 28 40 17
Technical Architect       Stocknet              Fax  : +47 910 73 621
Fredrik(_dot_)Rodland(_at_)aston(_dot_)no  http://www.aston.no   Mob  : +47 992 
19 817



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