File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 383
383
}
384
384
]
385
385
},
386
+ {
387
+ "description" : " \\ a is not an ECMA 262 control escape" ,
388
+ "schema" : { "$ref" : " https://json-schema.org/draft/next/schema" },
389
+ "tests" : [
390
+ {
391
+ "description" : " when used as a pattern" ,
392
+ "data" : { "pattern" : " \\ a" },
393
+ "valid" : false
394
+ }
395
+ ]
396
+ },
386
397
{
387
398
"description" : " unicode digits are more than 0 through 9" ,
388
399
"schema" : { "pattern" : " ^\\ p{digit}+$" },
Original file line number Diff line number Diff line change 383
383
}
384
384
]
385
385
},
386
+ {
387
+ "description" : " \\ a is not an ECMA 262 control escape" ,
388
+ "schema" : { "$ref" : " https://json-schema.org/draft/2020-12/schema" },
389
+ "tests" : [
390
+ {
391
+ "description" : " when used as a pattern" ,
392
+ "data" : { "pattern" : " \\ a" },
393
+ "valid" : false
394
+ }
395
+ ]
396
+ },
386
397
{
387
398
"description" : " unicode digits are more than 0 through 9" ,
388
399
"schema" : { "pattern" : " ^\\ p{digit}+$" },
You can’t perform that action at this time.
0 commit comments