Fixed regex error in models/user.rb