Devise email validation regexp

Posted . Visible to the public.
config.email_regexp = /\A(([\p{L}0-9]+_+)|([\p{L}0-9]+\-+)|([\p{L}0-9]+\.+)|([\p{L}0-9]+\++))*[\p{L}0-9]+@(([\p{L}0-9]+\-+)|([\p{L}0-9]+\.))*[\p{L}0-9]{1,63}\.[\p{L}]{2,6}\z/i
Bonyiii
Last edit
Bonyiii
Posted by Bonyiii to Bonyiii's deck (2015-08-18 13:23)