diff options
author | Lucie Gérard <lucie.gerard@qt.io> | 2024-04-23 15:47:25 +0200 |
---|---|---|
committer | Lucie Gérard <lucie.gerard@qt.io> | 2024-04-24 13:57:21 +0200 |
commit | 99b81be4b87af23b0516c4efdaa22b0be2601100 (patch) | |
tree | 5dc8a9fa17cb6fc83b3368c9699a3561c51cc05d | |
parent | 52c3f5d96e4fc42d242017ff3dd1f865a08840b9 (diff) |
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 `\\.`.
Pick-to: 6.7
Task-number: QTBUG-121039
Change-Id: I12be8339861732dd3e4a2ecab3bf117ba24850fe
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r-- | licenseRule.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/licenseRule.json b/licenseRule.json index cb7264b..f520c76 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"] |