alexandria-plsql-utils/ora/validation_util_pkg.pks
Tim Nanos 3e8c6b0f10 Email validation was changed to follow RFC 5322 standard
The email regexp was improved to be case-insensitive.
Old is_valid_email() function was removed.
is_valid_email2() function was renamed to is_valid_email() in order to
be more user-friendly.
Code readability was improved.
2016-04-01 14:48:25 +03:00

26 lines
547 B
Plaintext
Executable File

create or replace package validation_util_pkg
as
/*
Purpose: Package handles validations
Remarks:
Who Date Description
------ ---------- --------------------------------
MBR 23.10.2011 Created
*/
-- returns true if value is valid email address
function is_valid_email (p_value in varchar2) return boolean;
-- returns true if value is valid email address list
function is_valid_email_list (p_value in varchar2) return boolean;
end validation_util_pkg;
/