-# 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
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;
}