Open blagerweij opened 5 years ago
Currently this PR just assumes that all aliases are regexes, we could improve (and make it more backwards compatible) by changing the alias syntax like this: "The Apache License, Version 2.0", "/(The\s)?Apache License, [vV]ersion 2(\.0)/"
(so only when the string starts and ends with a forward slash, we assume it's a regex.) Feedback welcome
Added support for regex in aliases, so that we can use regular expressions to map to the main license