Sha256: 69f417d9d37553ec2e1f72cddd837ff373251d3720a123759862c3058765b7ab
Contents?: true
Size: 166 Bytes
Versions: 3
Compression:
Stored size: 166 Bytes
Contents
# frozen_string_literal: true module EmailTypo Gmail = lambda do |email| email.gsub(/@g[nm]{0,2}s?[ail]{1,2}[aiklmou]{0,3}\.(?!gov|edu)/, "@gmail.") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
email_typo-0.2.0 | lib/email_typo/gmail.rb |
email_typo-0.1.2 | lib/email_typo/gmail.rb |
email_typo-0.1.1 | lib/email_typo/gmail.rb |