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.
26 lines
547 B
Plaintext
Executable File
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;
|
|
/
|
|
|