procmail
[Top] [All Lists]

Re: Is the proper behavior? (Did I miss?)

2004-01-27 11:53:23
Someone suggested to Tuc,

:0c
* ^^From \/.+
! -f "$MATCH" tuc(_at_)laptop(_dot_)ttsg(_dot_)com

who then tried it and replied,

        Its too greedy, I get the date and all that. Is there a way to
put a \/ on the other side of the first space or something? I STFW and didn't
see anyone that parsed out PART of a piece using \/, is it possible?

No, not as such, but the original can be fixed.  Use this condition instead:

 * ^^From \/[^ ]+

The brackets enclose a caret and a space.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail