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 = {
36
36
time : / ^ (?: [ 0 - 2 ] \d : [ 0 - 5 ] \d : [ 0 - 5 ] \d | 2 3 : 5 9 : 6 0 ) (?: \. \d + ) ? (?: z | [ + - ] \d \d (?: : ? \d \d ) ? ) ? $ / i,
37
37
'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,
38
38
// 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,
41
41
'uri-template' : URITEMPLATE ,
42
42
url : URL ,
43
43
// email (sources from jsen validator):
You can’t perform that action at this time.
0 commit comments