Class: Licensee::Matchers::Spdx
- Defined in:
- lib/licensee/matchers/spdx.rb
Constant Summary collapse
- LICENSE_REGEX =
While we could parse the LICENSE.spdx file, prefer a lenient regex for speed and security. Moar parsing moar problems.
/PackageLicenseDeclared:\s*([a-z\-0-9. +()]+)\s*/i
Constants inherited from Matcher
Instance Attribute Summary
Attributes inherited from Matcher
Method Summary
Methods inherited from Package
Methods inherited from Matcher
#confidence, #initialize, #match, #name
Methods included from HashHelper
Constructor Details
This class inherits a constructor from Licensee::Matchers::Matcher