diff --git a/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml b/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
index 9557bf1336..eaa580e671 100644
--- a/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
+++ b/pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/codestyle/xml/ClassNamingConventions.xml
@@ -218,6 +218,7 @@ public class Outer {
* Inner class should be camel case.
* Outer class should have a prefix (one character, all caps), underscore, then camel case.
* Enum name should be all caps (not best practice!)
+ * See #5048
[A-Za-z]+
[A-Z]_[A-Za-z]+