We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba83f42 commit 90091daCopy full SHA for 90091da
lib/index.js
@@ -132,7 +132,7 @@ function transformGfmAutolinkLiterals(tree) {
132
tree,
133
[
134
[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, findUrl],
135
- [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, findEmail]
+ [/(?:^|\s|[!"#$%&'()*+,\-./:;<=>?@[\\]^_`{|}~])([-.\\w+]+)@([-\w]+(?:\.[-\w]+)+)/gi, findEmail]
136
],
137
{ignore: ['link', 'linkReference']}
138
)
0 commit comments