diff --git a/lib/Definition/PropertyDefinition.json b/lib/Definition/PropertyDefinition.json index d1e9d2a..cd9594d 100644 --- a/lib/Definition/PropertyDefinition.json +++ b/lib/Definition/PropertyDefinition.json @@ -29,7 +29,7 @@ { "name" : "title", "type" : "string", - "pattern" : "/^[a-z0-9 ]*$/i", + "pattern" : "/^[a-z0-9_/- ]*$/i", "max" : 255, "translation" : { "de" : "Titel", @@ -39,7 +39,6 @@ { "name" : "description", "type" : "text", - "pattern" : "/^[a-z0-9\s]*$/i", "translation" : { "de" : "Beschreibung", "en" : "Description" @@ -353,7 +352,7 @@ { "name" : "photo", "type" : "string", - "pattern" : "/^(http?|ftp)\://[a-z0-9\-\.]+\.[a-z]{2,6}(/\S*)?$/i", + "pattern" : "/^(http?|ftp)://[a-z0-9-.]+\\.[a-z]{2,6}(/\\S*)?$/i", "translation" : { "de" : "Foto (URL)", "en" : "Photo (URL)" @@ -362,7 +361,7 @@ { "name" : "link", "type" : "string", - "pattern" : "/^(http?|ftp)\://[a-z0-9\-\.]+\.[a-z]{2,6}(/\S*)?$/i", + "pattern" : "/^(http?|ftp)://[a-z0-9-.]+\\.[a-z]{2,6}(/\\S*)?$/i", "translation" : { "de" : "Hyperlink", "en" : "Hyperlink"