procmail
[Top] [All Lists]

multiple simultaneous extractions

1996-12-06 19:29:24
No, I didn't misdirect a post about dentistry.

James McGill wrote,

| That brings up what I feel is the one thing that I'd like to see in a future 
| version of procmail.  The ability to delimit multiple MATCH's in the manner
| of /(.*)(.*)/$1$2/ syntax.  As it happens, it is Match to End, which is 
| useful, but not as flexible as it could be.  (You can only match one thing,
| and only to the end of the regexp.)

One can extract the entirety and then extract pieces from there; it's not
as convenient as what James proposes, but with sufficient circumlocution it
can be done.