From e365c6a3bfce3bce29da1ab9e377c91982013df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucie=20G=C3=A9rard?= Date: Tue, 23 Apr 2024 15:45:40 +0200 Subject: 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: I918f9547820fe7157debf0659267815f6b7fc993 Reviewed-by: Edward Welbourne (cherry picked from commit 40d1896e798c173657428a5b51aafb00f40b1db5) Reviewed-by: Qt Cherry-pick Bot --- licenseRule.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/licenseRule.json b/licenseRule.json index d68d5838..c411c733 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"] -- cgit v1.2.3