Sha256: 527d781f8a5f3be13daae698189c7943536bc0a851a5ec2d959d5cd4d4a922cb

Contents?: true

Size: 162 Bytes

Versions: 1

Compression:

Stored size: 162 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)/, "@gmail.")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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