Skip to content

Commit 9b96d6a

Browse files
committed
Add note regarding regular expression unicode flag requirement
1 parent d74ddb4 commit 9b96d6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jsonschema-core.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,11 @@
547547
These regular expressions SHOULD be valid according to the regular expression
548548
dialect described in <xref target="ecma262">ECMA 262, section 21.2.1</xref>.
549549
</t>
550+
<t>
551+
Regular expressions SHOULD be built with the "u" flag (or equivilent) to provide
552+
Unicode support, or processed in such a way which provides which provides Unicode
553+
as defined by ECMA 262.
554+
</t>
550555
<t>
551556
Furthermore, given the high disparity in regular expression constructs support,
552557
schema authors SHOULD limit themselves to the following regular expression

0 commit comments

Comments
 (0)