diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-06-12 12:37:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-06-12 12:37:27 +0200 |
commit | 18a01e322981705aef23dd012a3fd2183abb1174 (patch) | |
tree | 35933a79c96a0addc4cb8193304140b71dcd22dc /scripts | |
parent | dd940769478df4838c51a90e1c3ed28a4d993788 (diff) | |
download | curl-18a01e322981705aef23dd012a3fd2183abb1174.tar.gz |
scripts/copyright.pl: ignore leading spaces
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copyright.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/copyright.pl b/scripts/copyright.pl index dcb1b8b38..d031ab088 100755 --- a/scripts/copyright.pl +++ b/scripts/copyright.pl @@ -95,7 +95,7 @@ sub scanfile { chomp; my $l = $_; # check for a copyright statement and save the years - if($l =~ /.* +copyright .* *\d\d\d\d/i) { + if($l =~ /.* ?copyright .* *\d\d\d\d/i) { while($l =~ /([\d]{4})/g) { push @copyright, { year => $1, |