Is a character limit necessary though? The consequences of not implementing
a character limit are the same as a typo or spelling mistake, are they not?


On Wed, Feb 19, 2014 at 1:53 PM, Caitlin Potter <notifications@github.com>wrote:

> In src/ng/directive/input.js:
>
> > @@ -9,7 +9,7 @@
> >  */
> >
> >  var URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/;
> > -var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i;
> > +var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z]([a-z0-9-]*[a-z0-9])?(\.[a-z]([a-z0-9-]*[a-z0-9])?)*$/i;
>
> domain label and host name are different things. A domain label is the
> section of text between . periods (and after the @). An email address is
> technically not supposed to exceed 256 characters, but the domain label in
> Chromium is limited to 63 characters each, which is way more than anybody
> really uses.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/angular/angular.js/pull/6026/files#r9885266>
> .
>