We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04f72b2 commit 906bbdaCopy full SHA for 906bbda
lib/index.js
@@ -163,6 +163,7 @@ function legacyAutolinkTransform(tree) {
163
tree,
164
[
165
[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, findUrl],
166
+ // [/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g, findEmail] # NOTE: this is your version, we can use your if you want
167
[/(^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, findEmailLegacy]
168
],
169
{ignore: ['link', 'linkReference']}
0 commit comments