diff options
author | Lucie Gérard <lucie.gerard@qt.io> | 2024-04-23 15:02:18 +0200 |
---|---|---|
committer | Lucie Gérard <lucie.gerard@qt.io> | 2024-04-23 15:03:47 +0200 |
commit | 11fcea0fbe1d07e02067babcb0313c0cef39d57a (patch) | |
tree | be0237afd22dc94cc9f9ea6cc1c8c240eeb4578b | |
parent | 6875f88f6b7f17b6f6c65c5e57ca03e29d7e567d (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: I8aec3c6c55bf8c78008912ee3cae867b5ce4c71e
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 78253f8b3..7afb5f208 100644 --- a/licenseRule.json +++ b/licenseRule.json @@ -94,7 +94,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"] |