checkit icon indicating copy to clipboard operation
checkit copied to clipboard

email regexp should have a source comment explaining the rationale

Open mk-pmb opened this issue 6 years ago • 0 comments

Currently in line 417 of core.js.

First, big thumbs up :+1: that it looks like this module won't claim email addresses with a "+" in the name as invalid.

That said, since the current regexp is very permissive, and more accurate (probably slower) regexps have been invented and discussed, the source should carry a comment with a link explaining this project's stance on what to expect from an email regexp.

mk-pmb avatar Nov 09 '17 19:11 mk-pmb