File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1686,9 +1686,8 @@ The presence of this keyword affects the behaviors of
1686
1686
##### ` patternProperties `
1687
1687
1688
1688
The value of ` patternProperties ` MUST be an object. Each property name of this
1689
- object SHOULD be a valid regular expression, according to the ECMA-262 regular
1690
- expression dialect. Each property value of this object MUST be a valid JSON
1691
- Schema.
1689
+ object SHOULD be a valid regular expression as indicated in {{regex}}. Each
1690
+ property value of this object MUST be a valid JSON Schema.
1692
1691
1693
1692
Validation succeeds if, for each instance name that matches any regular
1694
1693
expressions that appear as a property name in this keyword's value, the child
Original file line number Diff line number Diff line change @@ -210,7 +210,9 @@ Omitting this keyword has the same behavior as a value of 0.
210
210
#### ` pattern ` {#pattern}
211
211
212
212
The value of this keyword MUST be a string. This string SHOULD be a valid
213
- regular expression, according to the ECMA-262 regular expression dialect.
213
+ regular expression as indicated in
214
+ [ JSON Schema Core, section 6.3] ( ./jsonschema-core.md#regex ) .
215
+ <!-- This link assume a publish path, which we don't know yet. -->
214
216
215
217
A string instance is considered valid if the regular expression matches the
216
218
instance successfully. Recall: regular expressions are not implicitly anchored.
You can’t perform that action at this time.
0 commit comments