From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.7 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E6C4D1FAD8 for ; Sun, 23 Aug 2015 22:35:45 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] view: case-insensitive "Re:" check for replies Date: Sun, 23 Aug 2015 22:35:44 +0000 Message-Id: <1440369345-13435-2-git-send-email-e@80x24.org> List-Id: This is to match what Mail::Thread nad our own search relies on. However, we will be more lenient on spaces, though. --- lib/PublicInbox/View.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index f9081a6..72bbb94 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}; -- EW