Commit 980d4cacb3e175339d68a2ff21b9d632708adb79
Exists in
master
and in
29 other branches
Merge branch 'ai2936' into 'master'
Allow _ in profiles identifiers http://noosfero.org/Development/ActionItem2936 See merge request !63
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 |