From a7a5bfc80f4b5ffe2676bdd68ceb8f42a6a21e22 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 5 Jun 2019 02:01:29 +0000 Subject: scripts: require ASCII digits in a few places I haven't touched most these scripts in ages, but we might as well purge \d usage from here, as well. --- scripts/import_slrnspool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/import_slrnspool') diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool index e7ea45c1..25b702a0 100755 --- a/scripts/import_slrnspool +++ b/scripts/import_slrnspool @@ -47,7 +47,7 @@ sub get_min { my $out = $git->qx('config', "--file=$f", key($ibx)); $out ||= 0; chomp $out; - $out =~ /\A\d+\z/ and return $out; + $out =~ /\A[0-9]+\z/ and return $out; 0; } -- cgit v1.2.3-24-ge0c7