Doug Kearns writes:
> Hello all,
> 
> Is there some way to to set the index format so that it strips certain
> characters from the subject( %s ) ?
> 
> eg. I'd like to strip the leading [...] from the subject
> "[ruby-talk:15734] java based interpreter and regexes"

 There is no way to do it in mutt, as the format strings available for
 index_format don't allow access to substrings. But you can do this in
 procmail:

:0 fhw
* ^Subject:[    ]*\[[^]]*\][    ]\/.*
| formail -I "Subject: $MATCH"

 The "empty" bracket pairs contain a space and a tab each.

Reply via email to