procmail
[Top] [All Lists]

Re: Delivering to a wrong mailbox

1998-03-04 10:48:01
At 11:48 AM 3/4/98 -0500, psmith(_at_)oakland(_dot_)edu wrote:
You probably want something like the following instead:
      * ^(To|Cc|From).*vim.*
Note the extra dot before the final asterisk.

If this is the case, then simply OMIT the trailing '.*'.  Look at the logic
- "I expect zero or more of anything following" -- that's *grep's default
operation.

If you want to ensure that vim is followed by SOMETHING, then use '.+'

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

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