Simplified WSF_EMAIL_VALIDATOR regexp
This commit is contained in:
@@ -24,7 +24,7 @@ feature {NONE} -- Initialization
|
|||||||
make (e: STRING)
|
make (e: STRING)
|
||||||
-- Initialize with specified error message which will be displayed on validation failure
|
-- Initialize with specified error message which will be displayed on validation failure
|
||||||
do
|
do
|
||||||
make_regexp_validator ("^[a-zA-Z0-9._%%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$", e)
|
make_regexp_validator ("^.*@.*$", e)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user