summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucie GĂ©rard <lucie.gerard@qt.io>2024-04-23 15:02:18 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-04-23 18:12:25 +0000
commitf6480219d37f5f86a5f03ca02128e67ed8e2c293 (patch)
tree4a62a6dbe19c1e0cbc0d3ecafb98ef65c1f8bbbc
parent73028423f829b38b59adb76b2ec80805fca7746f (diff)
Fix real dot in location keys regular expression
Location keys are meant to be used as regular expression. The . need to be appear as `\.` in the regular expression. The JSON parser interprets the `\`, hence the `\\.`. Task-number: QTBUG-121039 Change-Id: I8aec3c6c55bf8c78008912ee3cae867b5ce4c71e Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 11fcea0fbe1d07e02067babcb0313c0cef39d57a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--licenseRule.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/licenseRule.json b/licenseRule.json
index 78253f8b3..7afb5f208 100644
--- a/licenseRule.json
+++ b/licenseRule.json
@@ -94,7 +94,7 @@
"file type" : "examples and snippets",
"spdx" : ["LicenseRef-Qt-Commercial OR BSD-3-Clause"]
},
- "config.tests/" : {
+ "config\\.tests/" : {
"comment" : "Default",
"file type" : "build system",
"spdx" : ["BSD-3-Clause"]