Skip to content

Commit 8300dbd

Browse files
committed
pattern regex anchor text to patternProperties
Copied the text about regexes not being anchored from "pattern" to the analogous location in "patternProperties".
1 parent c9038e8 commit 8300dbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jsonschema-core.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2446,7 +2446,8 @@
24462446
Validation succeeds if, for each instance name that matches any
24472447
regular expressions that appear as a property name in this keyword's value,
24482448
the child instance for that name successfully validates against each
2449-
schema that corresponds to a matching regular expression.
2449+
schema that corresponds to a matching regular expression. Recall: regular
2450+
expressions are not implicitly anchored.
24502451
</t>
24512452
<t>
24522453
The annotation result of this keyword is the set of instance

0 commit comments

Comments
 (0)