-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
When there is a valid email address, such as [email protected], if it is followed by a hyphen, linkify.test returns false:
console.log(linkify.test('[email protected]')); // true
console.log(linkify.test('[email protected],')); // true
console.log(linkify.test('[email protected]')); // false
I would expect both to be true.
You can test this by adding these two lines to test/fixtures/lines.txt:
benkelaar
Metadata
Metadata
Assignees
Labels
No labels