FOSSology  4.4.0
Open Source License Compliance by Open Source Software
ojoregex.hpp
Go to the documentation of this file.
1 /*
2  SPDX-FileCopyrightText: © 2020 Siemens AG
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
12 #ifndef SRC_OJO_AGENT_OJOREGEX_HPP_
13 #define SRC_OJO_AGENT_OJOREGEX_HPP_
14 
24 #define SPDX_LICENSE_LIST "spdx-licen[cs]e(?:id|[- ]identifier): \\K((?:(?: (?:and|or|with) )?\\(?(?:[\\w\\d\\.\\+\\-]{3,})\\)?){1,5})"
34 #define SPDX_LICENSE_NAMES "(?: and | or | with )?\\(?([\\w\\d\\.\\+\\-]{1,}[\\w\\d\\+])\\)?"
41 #define SPDX_DUAL_LICENSE "(?: (and|or|with)? )"
42 
43 #endif /* SRC_OJO_AGENT_OJOREGEX_HPP_ */