X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fprocess;h=e313a9d48c298078f79c281837e6c84d1a3754cf;hb=b7843cf92e2fa55b89e0993eb82c4453d3736d46;hp=e5759586a6ed25cb38a87c033661744b67be0407;hpb=3e20b19ca68e8c7b1f69605d5e83af518f19f516;p=debbugs.git diff --git a/scripts/process b/scripts/process index e575958..e313a9d 100755 --- a/scripts/process +++ b/scripts/process @@ -271,7 +271,11 @@ if (!defined($header{'subject'})) } my $ref=-1; -$subject =~ s/^Re:\s*//i; $_= $subject."\n"; +# remove Re: from the subject line +$subject =~ s/^Re:\s*//i; +# remove remaining mailing list name markers from the subject line +$subject =~ s/^\[.*\]\s*//i; +$_= $subject."\n"; if (not defined $tryref and m/^Bug ?\#(\d+)\D/i) { $tryref = $1 if $1 > 0; }