Hi Sam,

The $i modifier does indeed not work in the 1.2 branch. You might 
consider backporting the fix for that to 1.2, and put in a PR for that.
However, adapting the regex, with A-Z does work for me, as you can see 
working in this plunk <http://plnkr.co/edit/jcOTLf74Gx3fjLL7P6Uk?p=preview>.

This is what works:     
 <input type="email" name="email" ng-model="vm.email" ng-pattern=
"/^[A-Za-z0-9!#$%&amp;'*+\/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&amp;'*+\/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?$/"
 
id="email-1" value="" required="">

(I worked it in from your original code, didn't diff it with your A-Z 
version.)

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to