# File lib/formvalidator.rb, line 817 def match_email(email) regexp = Regexp.new('^\S+@\w+(\.\w+)*$') match = regexp.match(email) match ? match[0] : nil end