procmail
[Top] [All Lists]

RE: Simple Recipe

2001-06-11 11:56:16
(I was the original poster.)

Close, but not quite.  He wanted the last field, not just 
everything after
"myspecificstringofcharacters".  

Right.  

      :0:
      * ^Subject:.*myspecificstringofcharacters.*[    ]\/[^   ]+$
      * MATCH ?? ^^\/.+
      $MATCH

Of course, if he guarantee that there will only be one field after the
"myspeci..." string, then your version is simpler, clearer, 
and faster.

In this case, I can guarantee there's only one, since the message is
generated by a shell script, with the subject line hard-coded.

Thanks to all.
--
Tim Evans, T.Rowe Price Investment Technologies  | 
tkevans(_at_)troweprice(_dot_)com
P.O. Box 89000                                   | (410) 345-8134
Baltimore, MD 21289-0374                         | (410) 345-8150 (Fax)
_______________________________________________
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>