Commit 50d57964af1b754a4b6eb123bb123d70b8628205
1 parent
9c082693
Exists in
master
and in
27 other branches
Allow _ in emails
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/constants.rb
1 | module Noosfero::Constants | 1 | module Noosfero::Constants |
2 | - EMAIL_FORMAT = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i | 2 | + EMAIL_FORMAT = /\A([^@\s]+)@((?:[-_a-z0-9]+\.)+[a-z]{2,})\Z/i |
3 | INTEGER_FORMAT = /\A\d*\Z/i | 3 | INTEGER_FORMAT = /\A\d*\Z/i |
4 | PROFILE_PER_PAGE = 10 | 4 | PROFILE_PER_PAGE = 10 |
5 | end | 5 | end |