modif email regex to allo boom/cooking extension
This commit is contained in:
@@ -94,7 +94,7 @@ Checkjson.schema.properties.format = {
|
|||||||
date: /\d{4}-[01]\d-[0-3]\d/,
|
date: /\d{4}-[01]\d-[0-3]\d/,
|
||||||
duration: / /,
|
duration: / /,
|
||||||
email:
|
email:
|
||||||
/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
|
/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,
|
||||||
"idn-email": / /,
|
"idn-email": / /,
|
||||||
uuid: /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,
|
uuid: /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/,
|
||||||
uri: /^((https?|ftp):\/\/)?([a-zA-Z0-9.-]+)(:[0-9]{1,5})?(\/[^\s]*)?$/,
|
uri: /^((https?|ftp):\/\/)?([a-zA-Z0-9.-]+)(:[0-9]{1,5})?(\/[^\s]*)?$/,
|
||||||
|
|||||||
Reference in New Issue
Block a user