Re: [PATCH 0 of 2] subjectrx: altering the display subject
On 18-11-2008 14:03:00 -0600, David Champion wrote:
> The second patch adds subjectrx and unsubjectrx commands. subjectrx
> defines a list of transformation regexes for the display subject (the
> Subject: header, as shown in the index). You can use this to make
> subjects more readable or more concise in the index view, without
> changing the actual header value.
Thank you for this very useful patch! I really like it a lot sofar.
One question, the manual suggests that backreferences are supported,
however, when I use them, I always get the entire input pattern, not
just what's between the parenthesis.
An example of what I would like to be able to do:
[bla-list-commits] r12345 - some/path/and/file
subjectrx "^\\[bla-list-commits\\] r([0-9]+) - " "%1: %R"
[bla-list-commits] r12345 - : some/path/and/file
Am I doing something wrong?
Gentoo on a different level