replace [:alnum:] with A-Za-z0-9 because JavaScript does not support POSIX character classes
replace [:alnum:] with A-Za-z0-9 because JavaScript does not support
POSIX character classes

tolsen/email-validator