From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id AC3031F8C7 for ; Tue, 6 Jul 2021 12:42:03 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] eml: relax warn_ignore regexps for current Email::Address::XS Date: Tue, 6 Jul 2021 12:42:01 +0000 Message-Id: <20210706124203.17745-2-e@80x24.org> In-Reply-To: <20210706124203.17745-1-e@80x24.org> References: <20210706124203.17745-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: These seem needed with the data I'm currently working on, but I haven't changed my version of Email::Address::XS since my last Debian stable upgrade (to buster). --- lib/PublicInbox/Eml.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/Eml.pm b/lib/PublicInbox/Eml.pm index 46c273ce..955d6a96 100644 --- a/lib/PublicInbox/Eml.pm +++ b/lib/PublicInbox/Eml.pm @@ -484,8 +484,8 @@ sub crlf { $_[0]->{crlf} // "\n" } sub warn_ignore { my $s = "@_"; # Email::Address::XS warnings - $s =~ /^Argument contains empty address at / - || $s =~ /^Element at index [0-9]+ contains / + $s =~ /^Argument contains empty / + || $s =~ /^Element at index [0-9]+.*? contains / # PublicInbox::MsgTime || $s =~ /^bogus TZ offset: .+?, ignoring and assuming \+0000/ || $s =~ /^bad Date: .+? in /