util_email_valid_p (public)
util_email_valid_p query_email
Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Returns 1 if an email address has more or less the correct form. The initial regexp was taken from Jeff Friedls book "Mastering Regular Expressions". It was later updated with the version proposed by mozilla for the email input type validation. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#validation
- Parameters:
- query_email (required)
- Authors:
- Philip Greenspun <philg@mit.edu>
- Jeff Friedl <jfriedl@oreilly.com>
- Lars Pind <lars@arsdigita.com>
- Héctor Romojaro
- Günter Ernst
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- host_admin_and_outgoing_sender, util_email_valid_p