diff options
author | Lucie GĂ©rard <lucie.gerard@qt.io> | 2024-04-23 15:45:40 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-04-24 14:01:25 +0000 |
commit | e365c6a3bfce3bce29da1ab9e377c91982013df0 (patch) | |
tree | 6bdd0c9701b60d8f609dd5a9b4ebab0f5bfc2e06 | |
parent | e6a5822913c74a317a6d3dac57e4fa40f7053112 (diff) |
Fix real dot in location keys regular expression6.7
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: I918f9547820fe7157debf0659267815f6b7fc993
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 40d1896e798c173657428a5b51aafb00f40b1db5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | licenseRule.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/licenseRule.json b/licenseRule.json index d68d5838..c411c733 100644 --- a/licenseRule.json +++ b/licenseRule.json @@ -79,7 +79,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"] |