diff --git a/jsonschema-core.xml b/jsonschema-core.xml index 0181a388..1a3f3493 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -563,6 +563,11 @@ These regular expressions SHOULD be valid according to the regular expression dialect described in ECMA-262, section 21.2.1. + + Unless otherwise specified by a keyword, regular expressions MUST NOT be + considered to be implicitly anchored at either end. All regular expression + keywords in this specification and its companion documents are un-anchored. + Regular expressions SHOULD be built with the "u" flag (or equivalent) to provide Unicode support, or processed in such a way which provides Unicode support as @@ -2441,7 +2446,8 @@ Validation succeeds if, for each instance name that matches any regular expressions that appear as a property name in this keyword's value, the child instance for that name successfully validates against each - schema that corresponds to a matching regular expression. + schema that corresponds to a matching regular expression. Recall: regular + expressions are not implicitly anchored. The annotation result of this keyword is the set of instance