]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Filter/RubyLang.pm
run update-copyrights from gnulib for 2019
[public-inbox.git] / lib / PublicInbox / Filter / RubyLang.pm
index a43d67a9352e4ea6ab71aad954b3fe44933d55e3..094ac1c2e7f6b56fe22b017ba80873c5e522b0ea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2018 all contributors <meta@public-inbox.org>
+# Copyright (C) 2017-2019 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 
 # Filter for lists.ruby-lang.org trailers
@@ -50,7 +50,7 @@ sub scrub {
                my @v = $hdr->header_raw('X-Mail-Count');
                my $n;
                foreach (@v) {
-                       /\A\s*(\d+)\s*\z/ or next;
+                       /\A\s*([0-9]+)\s*\z/ or next;
                        $n = $1;
                        last;
                }