Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
email-spell-checker/src/lib/suggest-email.ts
Line 90 in 420dc73
Calling with any input should either suggest an email or fail cleanly (returning undefined), not throw an exception.
undefined
> const suggestedEmail4 = emailSpellChecker.run({ ... email: 'jorge@bigidaunashtnsuaeonsti.co)', ... }) Uncaught SyntaxError: Invalid regular expression: /co)$/: Unmatched ')'
The text was updated successfully, but these errors were encountered:
Current Behavior
email-spell-checker/src/lib/suggest-email.ts
Line 90 in 420dc73
Expected Behavior
Calling with any input should either suggest an email or fail cleanly (returning
undefined
), not throw an exception.Steps to Reproduce the Problem
Environment
The text was updated successfully, but these errors were encountered: