File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ formats.fast = {
3636 time : / ^ (?: [ 0 - 2 ] \d : [ 0 - 5 ] \d : [ 0 - 5 ] \d | 2 3 : 5 9 : 6 0 ) (?: \. \d + ) ? (?: z | [ + - ] \d \d (?: : ? \d \d ) ? ) ? $ / i,
3737 'date-time' : / ^ \d \d \d \d - [ 0 - 1 ] \d - [ 0 - 3 ] \d [ t \s ] (?: [ 0 - 2 ] \d : [ 0 - 5 ] \d : [ 0 - 5 ] \d | 2 3 : 5 9 : 6 0 ) (?: \. \d + ) ? (?: z | [ + - ] \d \d (?: : ? \d \d ) ? ) $ / i,
3838 // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js
39- uri : / ^ (?: [ a - z ] [ a - z 0 - 9 + - . ] * : ) (?: \/ ? \/ ) ? [ ^ \s ] * $ / i,
40- 'uri-reference' : / ^ (?: (?: [ a - z ] [ a - z 0 - 9 + - . ] * : ) ? \/ ? \/ ) ? (?: [ ^ \\ \s # ] [ ^ \s # ] * ) ? (?: # [ ^ \\ \s ] * ) ? $ / i,
39+ uri : / ^ (?: [ a - z ] [ a - z 0 - 9 + \ -. ] * : ) (?: \/ ? \/ ) ? [ ^ \s ] * $ / i,
40+ 'uri-reference' : / ^ (?: (?: [ a - z ] [ a - z 0 - 9 + \ -. ] * : ) ? \/ ? \/ ) ? (?: [ ^ \\ \s # ] [ ^ \s # ] * ) ? (?: # [ ^ \\ \s ] * ) ? $ / i,
4141 'uri-template' : URITEMPLATE ,
4242 url : URL ,
4343 // email (sources from jsen validator):
You can’t perform that action at this time.
0 commit comments