diff options
author | Lucie GĂ©rard <lucie.gerard@qt.io> | 2024-04-23 14:27:58 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-04-23 16:11:39 +0000 |
commit | 3d591d44bd5e027dca0f300bb1a3143b522db127 (patch) | |
tree | b1a62150968f0eca1d70a05f108eb42c91081a30 | |
parent | f5b8b122596c214711889cc4372b188cc0bd2c76 (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: I959dffc86a4786ef90a400a80540353c4f7e7f3b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 0b164bb52987ca91c008e60152ff883c75318f6e)
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 a80faa94..7a96fb25 100644 --- a/licenseRule.json +++ b/licenseRule.json @@ -84,7 +84,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"] |