Simplified WSF_EMAIL_VALIDATOR regexp

This commit is contained in:
severin
2014-03-05 15:57:16 +01:00
parent 7ca62463b7
commit f89e0abe69

View File

@@ -24,7 +24,7 @@ feature {NONE} -- Initialization
make (e: STRING)
-- Initialize with specified error message which will be displayed on validation failure
do
make_regexp_validator ("^[a-zA-Z0-9._%%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$", e)
make_regexp_validator ("^.*@.*$", e)
end
end