FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Go to the source code of this file.
Macros | |
#define | SPDX_LICENSE_LIST "spdx-licen[cs]e(?:id|[- ]identifier): \\K((?:(?: (?:and|or|with) )?\\(?(?:[\\w\\d\\.\\+\\-]{3,})\\)?){1,5})" |
Regex to filter the list of licenses. More... | |
#define | SPDX_LICENSE_NAMES "(?: and | or | with )?\\(?([\\w\\d\\.\\+\\-]{1,}[\\w\\d\\+])\\)?" |
Regex to filter license names from list of license list. More... | |
#define | SPDX_DUAL_LICENSE "(?: (and|or|with)? )" |
Regex to check if Dual-license. More... | |
The list of regex used in the agent.
Each regex is stored as a macro.
Definition in file ojoregex.hpp.
#define SPDX_DUAL_LICENSE "(?: (and|or|with)? )" |
Regex to check if Dual-license.
Definition at line 41 of file ojoregex.hpp.
#define SPDX_LICENSE_LIST "spdx-licen[cs]e(?:id|[- ]identifier): \\K((?:(?: (?:and|or|with) )?\\(?(?:[\\w\\d\\.\\+\\-]{3,})\\)?){1,5})" |
Regex to filter the list of licenses.
spdx-license-identifier
in the textspdx-license-identifier
Definition at line 24 of file ojoregex.hpp.
#define SPDX_LICENSE_NAMES "(?: and | or | with )?\\(?([\\w\\d\\.\\+\\-]{1,}[\\w\\d\\+])\\)?" |
Regex to filter license names from list of license list.
Definition at line 34 of file ojoregex.hpp.