From e14bcb3a3618b82ce147c9f3b33ea5e1a239024d Mon Sep 17 00:00:00 2001 From: Tobi Hahnen Date: Wed, 18 Dec 2024 16:16:24 +0100 Subject: [PATCH] Update description --- 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 49a3c46ddbf..113584b3aed 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_]*$ +With default provided regular expression: ^([A-Z][a-zA-Z0-9_]*)|([a-z][a-zA-Z0-9]*_[A-Z][a-zA-Z]*)$ [source,vb6]