[licensecheck] 01/26: Improve license pattern ftl: Ignore bareword FTL. Treat word project as optional. Cover more lettercase combinations.

Jonas Smedegaard dr at jones.dk
Sun Feb 5 10:12:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository licensecheck.

commit 8aeec76571466a7fc7185e87fe7e76b6a7e61df9
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Nov 26 12:17:17 2016 +0100

    Improve license pattern ftl: Ignore bareword FTL. Treat word project as optional. Cover more lettercase combinations.
---
 lib/Regexp/Pattern/License.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index c3d81bc..96b5370 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -420,7 +420,8 @@ our %RE = (
 	ftl => {
 		name    => 'FTL',
 		caption => 'Freetype',
-		pat     => qr/$the?(?:FreeType project license(?: \(FTL\))?|FTL)/,
+		pat =>
+			qr/$the?(?:FreeType(?: [Pp]roject)? (?:LICENSE|[Ll]icense)(?: \(FTL\))?)/,
 	},
 	gfdl => {
 		name    => 'GFDL',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/licensecheck.git



More information about the Pkg-perl-cvs-commits mailing list