Skip to content

Commit c9038e8

Browse files
committed
Note non-anchoring of regexes in the regex section.
1 parent d59bda8 commit c9038e8

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
@@ -563,6 +563,11 @@
563563
These regular expressions SHOULD be valid according to the regular expression
564564
dialect described in <xref target="ecma262">ECMA-262, section 21.2.1</xref>.
565565
</t>
566+
<t>
567+
Unless otherwise specified by a keyword, regular expressions MUST NOT be
568+
considered to be implicitly anchored at either end. All regular expression
569+
keywords in this specification and its companion documents are un-anchored.
570+
</t>
566571
<t>
567572
Regular expressions SHOULD be built with the "u" flag (or equivalent) to provide
568573
Unicode support, or processed in such a way which provides Unicode support as

0 commit comments

Comments
 (0)