procmail
[Top] [All Lists]

Re: what's the subject of the thread about getting rid of the Re^# stuff

1997-08-08 22:25:00
Timothy J Luoma <luomat+procmail(_at_)luomat(_dot_)peak(_dot_)org> wrote:
I'm getting email with the (&(* Subject with Re^2 and the like.
Didn't someone just mention this?  I can't find the solution, if any.
Could someone remind me?

I don't remember the subject, here's the filter I use though.
(Suitable for even old versions of perl.)

      # Filter "Re[5]:"/"Re^3:" and the like out of Subject:
      :0fh
      *  ^Subject: *((Re: ?)*Re[[^]|Re: *Re:)
      | perl -pe 's/^subject:\s*(re[][^\d]*:\s*)+/Subject: Re: /i;'


Elijah
------
I /dev/null dupes, no need to CC list posts.  It is not my responsibility to
prove to you my mail is not spam, if mail to you bounces it will not be resent.