[PATCH] parser: remove in-reply-to/references comments

Raxel Gutierrez raxel at google.com
Thu Jul 1 03:04:47 AEST 2021


On Fri, Jun 25, 2021 at 5:09 AM Daniel Axtens <dja at axtens.net> wrote:
> Ah so it turns out I'm totally wrong here: we've been given some sample
> data on the GH issue (http://www.delorie.com/tmp/patchwork-399-1.txt)
> and it contains a multi-line comment:
>
> In-Reply-To: <4574b99b-edac-d8dc-9141-79c3109d2fcc at huawei.com> (message from
>  liqingqing on Thu, 1 Apr 2021 16:51:45 +0800)
>
> I don't know if Python's email module will fold multi-line headers
> automatically - it's very possible it does - or if the regex will work
> over multiple lines... I lose track of which regex engine does what!

Thanks for the feedback and information! I will work on adding support
for both multi-line and nested comments :) Hopefully it doesn't get
too messy.

Best,
Raxel


More information about the Patchwork mailing list