procmail
[Top] [All Lists]

Re: create sub-subfolders from $MATCH

2004-06-04 17:12:46
Toen wij Scott Wiersdorf kietelden, kwam er dit uit:

  * MATCH ?? ^\/[^$]+

David mentioned '.' for '[^$]'. Or is a dollar-sign allowed 
in package-names and do you want to stop before it?

Suggestion:

   * MATCH ?? ^^\/.+


    * FOLDER ?? ^\/.

Or:

     * FOLDER ?? ^^\/.

(notice the double ^^, that anchors the match 
more obviously to the start of the buffer)


Robuster approach:

  * $ ^Subject:.*package[$SP]+\/[^$SP]+[$SP]*$
  * $ MATCH ?? ^^\/[^$SP]+

-- 
Grtz, Ruud

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