diff options
author | Lucie GĂ©rard <lucie.gerard@qt.io> | 2024-04-23 14:30:27 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-04-24 07:30:01 +0000 |
commit | ffe2cff5715ae44085653f892e28df9572528676 (patch) | |
tree | 61c190ef025725023eb38912a4708d1dc6494990 | |
parent | 6cc840c3b9bde7d717b55253a6a7acd2bed9a44d (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: If3c96eb2ec10af32dc7afec789f3dac54f4af0c4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 08217e855f25f46b6a078e3b29c1296fdd6ad604)
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 2a70539b..6d75da27 100644 --- a/licenseRule.json +++ b/licenseRule.json @@ -79,7 +79,7 @@ "file type" : "examples and snippets", "spdx" : ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] }, - "tests/auto/cpptest/common/cpptestutil.h" : { + "tests/auto/cpptest/common/cpptestutil\\.h" : { "comment" : "", "file type" : "util", "spdx" : ["LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0"] |