From 434c3bf4dfe4831d500c86c1a0dc1878a13088f5 Mon Sep 17 00:00:00 2001 From: Sebastien Marichal Date: Fri, 20 Dec 2024 14:12:24 +0100 Subject: [PATCH] Modify rule S1542: Prevent strong substitution (#4585) --- rules/S1542/vb6/rule.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/S1542/vb6/rule.adoc b/rules/S1542/vb6/rule.adoc index 113584b3aed..5d06d21bcb6 100644 --- a/rules/S1542/vb6/rule.adoc +++ b/rules/S1542/vb6/rule.adoc @@ -4,7 +4,7 @@ include::../description.adoc[] === Noncompliant code example -With default provided regular expression: ^([A-Z][a-zA-Z0-9_]*)|([a-z][a-zA-Z0-9]*_[A-Z][a-zA-Z]*)$ +With default provided regular expression: ^([A-Z][a-zA-Z0-9_]\*)|([a-z][a-zA-Z0-9]*_[A-Z][a-zA-Z]*)$ [source,vb6]