Skip to content

Commit

Permalink
don't use /a thing because that's a v5.14 thing. Oops.
Browse files Browse the repository at this point in the history
This is my fault for suggesting it.
  • Loading branch information
briandfoy committed Sep 6, 2023
1 parent e6b6d15 commit 43bb8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/nl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ else {
}

if (defined $startnum) {
if ($startnum !~ m/\A[\+\-]?\d+\Z/a) {
if ($startnum !~ m/\A[\+\-]?[0-9]+\Z/) {
warn "$program: invalid starting line number: '$startnum'\n";
exit EX_FAILURE;
}
Expand Down

0 comments on commit 43bb8ec

Please sign in to comment.