summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibexec/filter-github-emails4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/filter-github-emails b/libexec/filter-github-emails
index 326495d..5abf1b0 100755
--- a/libexec/filter-github-emails
+++ b/libexec/filter-github-emails
@@ -172,8 +172,8 @@ sub edit_header {
172 172
173 # Strip the [monitoring-plugins] tag. 173 # Strip the [monitoring-plugins] tag.
174 my $subject = $header->header('Subject'); 174 my $subject = $header->header('Subject');
175 $subject =~ s/^\[monitoring-plugins\] //; 175 $subject =~ s/^\[monitoring-plugins\] (.+)/$1/;
176 $subject =~ s/^Re: \[monitoring-plugins\] /Re: /; 176 $subject =~ s/^Re: \[monitoring-plugins\] (.+)/Re: $1/;
177 $header->header_set('Subject' => $subject); 177 $header->header_set('Subject' => $subject);
178 178
179 return $header; 179 return $header;