Email verification Pattern in RAML Schema


#1

hello folks ,

i m stuck in raml schema for validating Email field Pattern.

“EmailAddress”: {
“required”: false,
“type”: “string”,
“pattern”: “^\w+@[a-zA-Z_]+?.[a-zA-Z]{2,3}$”

now RAML Compiler throwing an error stating "Invalid reverse solidus ’ \ ’ declaration .