email-spell-checker icon indicating copy to clipboard operation
email-spell-checker copied to clipboard

False positive for mac.com

Open benrugg opened this issue 1 year ago • 1 comments

False positive: [email protected] suggests [email protected]

  1. How popular is the TLDs or Domain: mac.com email addresses were issued to millions of people. Apple has moved away from them, but they still work.
  2. Why most of the companies using this package will get benefit of it: False positives for a large number of email addresses cause additional customer support costs.

Current Behavior

const suggestion = emailSpellChecker.run({ email: '[email protected]' })
suggestion.full == '[email protected]'

Expected Behavior

const suggestion = emailSpellChecker.run({ email: '[email protected]' })
suggestion == null

Steps to Reproduce the Problem

  1. See above

benrugg avatar Sep 09 '23 14:09 benrugg

Thank you for this package, btw. It's really helpful! I'll try to submit a pr for this when I have a second.

benrugg avatar Sep 09 '23 14:09 benrugg