From fcbceadb76fd36a739dab2b189021a60fc8f785e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 18 Oct 2022 14:19:26 +0200 Subject: [PATCH] Scripts: improve license parsing for odd names --- Scripts/license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/license b/Scripts/license index e9b8a5c53..fac05e175 100755 --- a/Scripts/license +++ b/Scripts/license @@ -93,7 +93,7 @@ sub process_file $start = $1; $start =~ s/[,\s\-]+//g; } - if ( $line =~ s/(\d\d\d\d\s*,?\s+)// ) { + if ( $line =~ s/^(\d\d\d\d\s*,?\s+)// ) { $end = $1; $end =~ s/[,\s]+//g; }