diff options
author | Lucie Gérard <lucie.gerard@qt.io> | 2024-04-23 15:49:10 +0200 |
---|---|---|
committer | Lucie Gérard <lucie.gerard@qt.io> | 2024-04-24 08:32:32 +0200 |
commit | fa96b28c1b1e4d5e45e46a660b4182e1309b9f3d (patch) | |
tree | d93d1ae6a03155f936aed3fe1e72c93a449f7f8a | |
parent | 2ec11b46f8765ddd72e33e3c89f409747b6a9088 (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 `\\.`.
Pick-to: 6.7
Task-number: QTBUG-121039
Change-Id: I29f7ccbbaa9f042b09dceb8b96be3c3f8078ebd4
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
-rw-r--r-- | licenseRule.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/licenseRule.json b/licenseRule.json index 9738e837..623171cd 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"] |