Bug#867302: licensecheck: incorrectly parses multi-line copyright notices
Ximin Luo
infinity0 at debian.org
Wed Jul 5 19:21:00 UTC 2017
Jonas Smedegaard:
> Quoting Ximin Luo (2017-07-05 20:07:00)
>> This breaks some of my test cases; attached is an updated patch. It
>> gives good results for Sage:
>
> The patch relaxes the $dash_re regex to match multiple dashes. Can you
> provide me an example of where that is useful?
>
Yes, if you look at copyright-test.sh that I just sent in that other email, and run it in the sage/ directory of the sagemath package, you'll see that this $dash_re is useful for src/sage/modular/modform/all.py:
# Copyright (C) 2004--2006 William Stein <wstein at gmail.com>
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the pkg-perl-maintainers
mailing list