diff --git a/server.js b/server.js index 7b29b06..a15b086 100644 --- a/server.js +++ b/server.js @@ -2875,8 +2875,8 @@ function guessLicense(text) { 'LGPLv3': 'gnu lesser general public license,? version 3', 'LGPL': 'gnu (library|lesser) general public license', 'MIT': 'mit license', - 'MPL 1.1': 'mozilla public license,? (version |v|v\\.)?1\\.1', - 'MPL 2': 'mozilla public license,? (version |v|v\\.)?2', + 'MPL 1.1': 'mozilla public license,? (\\(MPL\\) )?(version |v|v\\.)?1\\.1', + 'MPL 2': 'mozilla public license,? (\\(MPL\\) )?(version |v|v\\.)?2', 'MPL': 'mozilla public license', 'CDDL': 'common development and distribution license', 'Eclipse': 'eclipse public license',