Closed oscarvegar closed 5 years ago
Hi, new domain extensions have more than 4 digits, example domain.rocks, backbone.studio, etc. This REGEX needs to be updated.
Line 805 of Validator.js
return this.validateMatch(name, value, /^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}$/i);
I'll take care of this for the next release. :)
@oscarvegar In v1.0.8 regex was updated to allow email domains with a max of 8 characters.
Hi, new domain extensions have more than 4 digits, example domain.rocks, backbone.studio, etc. This REGEX needs to be updated.
Line 805 of Validator.js
return this.validateMatch(name, value, /^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}$/i);