From c754945ed4acd78ea7ae6302dadb304d7a2e6b74 Mon Sep 17 00:00:00 2001 From: harpreet kaur gothra Date: Sat, 3 Jan 2026 01:43:28 +0530 Subject: [PATCH] Add license rule for LGPL-3.0-or-later notice pattern Fixes #3935 Adds detection rule for the license notice pattern: 'Distributed under the terms of the GNU Lesser General Public License, either version 3 of the License, or (at your option) any later version.' This pattern was previously misdetected due to partial matching. Signed-off-by: harpreet kaur gothra --- src/licensedcode/data/rules/lgpl-3.0-plus_309.RULE | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/licensedcode/data/rules/lgpl-3.0-plus_309.RULE diff --git a/src/licensedcode/data/rules/lgpl-3.0-plus_309.RULE b/src/licensedcode/data/rules/lgpl-3.0-plus_309.RULE new file mode 100644 index 0000000000..e853f93acf --- /dev/null +++ b/src/licensedcode/data/rules/lgpl-3.0-plus_309.RULE @@ -0,0 +1,7 @@ +--- +license_expression: lgpl-3.0-plus +is_license_notice: yes +relevance: 100 +--- +Distributed under the terms of the GNU Lesser General Public License, +either version 3 of the License, or (at your option) any later version.