summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--email_in.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl
index 1e04e5c6a..1f9a958c8 100644
--- a/email_in.pl
+++ b/email_in.pl
@@ -75,7 +75,7 @@ sub parse_mail {
my ($reporter) = Email::Address->parse($input_email->header('From'));
$fields{'reporter'} = $reporter->address;
my $summary = $input_email->header('Subject');
- if ($summary =~ /\[Bug (\d+)\](.*)/i) {
+ if ($summary =~ /\[\S+ (\d+)\](.*)/i) {
$fields{'bug_id'} = $1;
$summary = trim($2);
}