Skip to content

Commit 8d742bd

Browse files
authored
Change Regex check on classtype
#24323
1 parent 5731e7d commit 8d742bd

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/Mview/etc

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Mview/etc/mview.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
<xs:simpleType name="classType">
5252
<xs:annotation>
5353
<xs:documentation>
54-
Class name can contain only [a-zA-Z\].
54+
Class name can contain only [a-zA-Z|\\]+[a-zA-Z0-9\\]+.
5555
</xs:documentation>
5656
</xs:annotation>
5757
<xs:restriction base="xs:string">
58-
<xs:pattern value="[a-zA-Z\\]+" />
58+
<xs:pattern value="[a-zA-Z|\\]+[a-zA-Z0-9\\]+" />
5959
</xs:restriction>
6060
</xs:simpleType>
6161

0 commit comments

Comments
 (0)