Implicit mailto links should match dots before the @-sign #5080
Labels
enhancement
New feature or request
PR-welcome
Wez doesn't have plans to work on this, but will accept a PR if someone feels motivated!
Is your feature request related to a problem? Please describe.
At my $DAYJOB we have [email protected] as email addresses. The default regex for finding mail links don't include dots before the @ sign, so only the [email protected] part gets included in the link.
Describe the solution you'd like
Change the default regexes to include dots before the at sign. Perhaps
Describe alternatives you've considered
I can of course change this myself in my local config but I figure that it would be good to change the default option as well.
Regexes are an insufficient tool to correctly parse all possible email addresses but this is a pretty common format for email addresses and it would make sense to have them included.
Looking at the regex, perhaps hyphens before the dot could be included as well?
The text was updated successfully, but these errors were encountered: