Closed kaz-utashiro closed 3 years ago
Could you add some unit tests ?
I'll try, but I can't promise when.
I updated the existing code to test just the patch works. I'm not sure you like it...
Thanks for your acceptance. I disregarded in this patch, but I don't understand what /\d\d\d[\d.]+/ want to match in copyright notice. Maybe /\d\d\d[\d-]+/ is what they want.
Currently, the author's name is taken from the LICENSE section if it appears earlier than the AUTHOR section. I believe it is not intentional behavior. This code makes it always look at the AUTHOR section if it exists. I added minimal updates in other regex parts.