Skip to content

Commit 5a46556

Browse files
committed
fix(version-scanner): enforce qualifier on flexible version rules
1 parent 392fad7 commit 5a46556

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/version_scanner/regex_pattern_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ rules:
194194
- |
195195
{name}\s+{major}\.(?!\d)
196196
- |
197-
\b{major}\.{minor}(?!\d)
197+
{name}\s+{major}\.{minor}(?!\d)
198198
- |
199-
\b{major}\.{minor}\.(?!\d)
199+
{name}\s+{major}\.{minor}\.(?!\d)
200200
- |
201-
\b{major}\.{minor}\.{patch}(?!\d)
201+
{name}\s+{major}\.{minor}\.{patch}(?!\d)
202202
203203
- name: generic_dependency_check_call
204204
description: Finds generic function or class calls checking dependency and version.

0 commit comments

Comments
 (0)