Sha256: db20d6587f55ebfc66ba84ac51ca5df5c4ad8c24840dd8e636ea7b7364160ee1

Contents?: true

Size: 139 Bytes

Versions: 7

Compression:

Stored size: 139 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  Yahoo = lambda do |email|
    email.gsub(/@(ya|yh|ua|ah)+h*a*o+\./, "@yahoo.")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
email_typo-0.2.3 lib/email_typo/yahoo.rb
email_typo-0.2.2 lib/email_typo/yahoo.rb
email_typo-0.2.1 lib/email_typo/yahoo.rb
email_typo-0.2.0 lib/email_typo/yahoo.rb
email_typo-0.1.2 lib/email_typo/yahoo.rb
email_typo-0.1.1 lib/email_typo/yahoo.rb
email_typo-0.1.0 lib/email_typo/yahoo.rb