From: Eric Wong Date: Tue, 6 Jul 2021 12:42:01 +0000 (+0000) Subject: eml: relax warn_ignore regexps for current Email::Address::XS X-Git-Tag: v1.7.0~556 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f1f2464064af3840f2f1a697b638e5b769f111af;p=public-inbox.git eml: relax warn_ignore regexps for current Email::Address::XS 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). --- 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 /