<commit_before>class Identity < ActiveRecord::Base
  #attr_accessible :email, :name, :password_digest
  validates_presence_of :name
  validates_uniqueness_of :email
  validates_format_of :email, :with => /^[-a-z0-9_+\.]+\@([-a-z0-9]+\.)+[a-z0-9]{2,4}$/i
end
<commit_msg>fix regexp<commit_after>class Identity < ActiveRecord::Base
  #attr_accessible :email, :name, :password_digest
  validates_presence_of :name
  validates_uniqueness_of :email
  validates_format_of :email, :with => /\A[-a-z0-9_+\.]+\@([-a-z0-9]+\.)+[a-z0-9]{2,4}\Z/i
end

{'fraction_non_alphanumeric': 0.19294990723562153, 'fraction_numerical': 0.029684601113172542, 'mean_word_length': 5.27906976744186, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4295124', 'n_tokens_mistral': 231, 'n_tokens_neox': 225, 'n_words': 33}