Procmail regex group reuse

2013-03-14 Thread guyzmo+notm...@m0g.net
Hello, On Wed, Mar 13, 2013 at 12:16:29PM -0700, Istvan Marko wrote: > Guyzmo writes: > > Would it be possible to reuse a part of the match regexp in procmail > > so it can be reused in the action part of the rule. [...] > So you get everything between \/ to the end

Procmail regex group reuse

2013-03-13 Thread Guyzmo
Hello, I have looked over that usage pattern over the procmail doc and mailing lists for some time now, and it seems no one ever asked the question: Would it be possible to reuse a part of the match regexp in procmail so it can be reused in the action part of the rule. Something like the

Procmail regex group reuse

2013-03-13 Thread Istvan Marko
Guyzmo writes: > Would it be possible to reuse a part of the match regexp in procmail > so it can be reused in the action part of the rule. procmail has a limited way of extracting subexpressions: MATCH This variable is assigned to by procmail whenever it

Procmail regex group reuse

2013-03-13 Thread Guyzmo
Hello, I have looked over that usage pattern over the procmail doc and mailing lists for some time now, and it seems no one ever asked the question: Would it be possible to reuse a part of the match regexp in procmail so it can be reused in the action part of the rule. Something like the

Re: Procmail regex group reuse

2013-03-13 Thread Istvan Marko
Guyzmo guyzmo+notm...@m0g.net writes: Would it be possible to reuse a part of the match regexp in procmail so it can be reused in the action part of the rule. procmail has a limited way of extracting subexpressions: MATCH This variable is assigned to by procmail whenever it is

Re: Procmail regex group reuse

2013-03-13 Thread guyzmo+notmuch
Hello, On Wed, Mar 13, 2013 at 12:16:29PM -0700, Istvan Marko wrote: Guyzmo guyzmo+notm...@m0g.net writes: Would it be possible to reuse a part of the match regexp in procmail so it can be reused in the action part of the rule. [...] So you get everything between \/ to the end of the whole