Skip to content

Stricter unnamed link matching

Compare
Choose a tag to compare
@shaunburdick shaunburdick released this 22 Aug 12:35
· 30 commits to master since this release

The link regex as it existed could pick up some false positive links.
This code attempts to make the regex a bit more strict such that
the text inside square brackets must include at least 1 dot and
should not include any characters that are not allowed in URLs

Thanks @swaters-atlassian !