Many mail senders have a mail subject prefix with the answer "Re:" if this prefix does not exist yet. German Outlook is instead prefixed with "AW:" (for "AntWort") if that prefix does not already exist. Unfortunately, these two behaviors contradict each other, resulting in topics such as "Re: AW: Re: AW: Re: AW: Re: AW: Lunch". So now I have:
:0f
* ^Subject: (Antwort|AW):
|sed -r -e '1,/^$/s/^(Subject: )(((Antwort: )|(Re: )|(AW: ))+)(.*)/\1Re: \7\nX-Orig-Subject: \2\7/'
Which restricts them (and the prefix "Antwort:", which apparently also was seen at some point) to one "Re:".