Permalink
Browse files

fix regexp for jshint

  • Loading branch information...
1 parent af7a4fc commit efddc3a664c5397e27a5b3c6ca2a1d2276b0d20b @tchak tchak committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/ember-validators/lib/validators/email.js
View
2 packages/ember-validators/lib/validators/email.js
@@ -8,7 +8,7 @@ Ember.Validator.Email = Ember.Validator.Pattern.extend({
return 'Ember.Validator.Email';
},
- validatePattern: /^([a-zA-Z0-9_\.-]+)@([\da-zA-Z\.-]+)\.([a-zA-Z\.]{2,6})$/
+ validatePattern: /^([a-zA-Z0-9_\.\-]+)@([\da-zA-Z\.\-]+)\.([a-zA-Z\.]{2,6})$/
});

0 comments on commit efddc3a

Please sign in to comment.