mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:57:28 +03:00
scripts/copyright.pl: ignore leading spaces
This commit is contained in:
parent
dd94076947
commit
18a01e3229
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue