url-regex
url-regex copied to clipboard
urls that are enclosed with ' instead of " are not matched correctly
This happens because of the path regex that should be changed to const path = '(?:[/?#][^\s"']*)?';
See my comment in #55 https://github.com/niftylettuce/url-regex-safe.
This has been added in url-safe-regex
v0.0.4+ at https://github.com/niftylettuce/url-safe-regex. See apostrophe
option in README for more insight. Thank you.