Sha256: 40fc78a0986500a6e8e36089285fbc5aa1ef1ffabe7da624ebc4e8b90fb0272b

Contents?: true

Size: 170 Bytes

Versions: 1

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module EmailTypo
  DotNet = lambda do |email|
    email
      .gsub(/\.(nte*|n*et*|ney)$/, ".net")
      .gsub(/\.met$/, ".net")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_typo-0.2.3 lib/email_typo/dot_net.rb