Sha256: 2fee8e7008f850e9bbf287b9ced639d4848131b54a9c0745ccacb5f7182d8809

Contents?: true

Size: 163 Bytes

Versions: 2

Compression:

Stored size: 163 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  Hotmail = lambda do |email|
    email.gsub(/@h(i|o|p)?y?t?o?a?r?m?n?t?m?[aikl]{1,3}l?\./, "@hotmail.")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
email_typo-0.2.2 lib/email_typo/hotmail.rb
email_typo-0.2.1 lib/email_typo/hotmail.rb