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 <wst...@gmail.com> X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git