From: Eric Wong Date: Sun, 23 Aug 2015 20:09:12 +0000 (+0000) Subject: view: case-insensitive "Re:" check for replies X-Git-Tag: v1.0.0~990 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=af10d15487fa9f4086c8f5c74d7ee737997ed905;p=public-inbox.git view: case-insensitive "Re:" check for replies This is to match what Mail::Thread nad our own search relies on. However, we will be more lenient on spaces, though. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index f9081a6d..72bbb946 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -419,7 +419,7 @@ sub html_footer { Email::Address->purge_cache if $standalone; my $subj = $mime->header('Subject') || ''; - $subj = "Re: $subj" unless $subj =~ /\bRe:/; + $subj = "Re: $subj" unless $subj =~ /\bRe:/i; my $mid = $mime->header('Message-ID'); my $irt = uri_escape_utf8($mid); delete $cc{$to};