Sha256: 06879130735926c293a52358dfb6d67b11e5727e208fec5d3d4ba4daf551e2c3

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  Gmail = lambda do |email|
    email.gsub(
      /@ga?e?i?o?r?g?[nm]{0,2}s?[ail]{1,2}[aiklmou]{0,3}\.(?!gov|edu)/,
      "@gmail."
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_typo-0.2.1 lib/email_typo/gmail.rb