extract-email-address
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -16,3 +16,3 @@ "use strict"; | ||
return input.replace(emojiRegex, ' ').replace(/(?<=\s|^)([a-z0-9.-_@])\s?(?=[a-z0-9.-_@](?:\s|$))/g, '$1').replace(/\s+at\s+/g, '@').replace(/\s+dot\s+/g, '.').replace(/\s*<at>\s*/g, '@').replace(/\s*<dot>\s*/g, '.').replace(/\s*\(at\)\s*/g, '@').replace(/\s*\(dot\)\s*/g, '.').replace(/\s*\[at\]\s*/g, '@').replace(/\s*\[dot\]\s*/g, '.') // Matches all ASCII characters from the space to tilde. | ||
.replace(/[^ -~]/g, ' ').trim(); | ||
.replace(/[^ -~]/g, ' ').trim().toLowerCase(); | ||
}; | ||
@@ -19,0 +19,0 @@ |
@@ -87,3 +87,3 @@ { | ||
}, | ||
"version": "1.3.0" | ||
"version": "1.4.0" | ||
} |
@@ -22,3 +22,4 @@ // @flow | ||
.replace(/[^ -~]/g, ' ') | ||
.trim(); | ||
.trim() | ||
.toLowerCase(); | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15967
121