url-regex icon indicating copy to clipboard operation
url-regex copied to clipboard

urls that are enclosed with ' instead of " are not matched correctly

Open regevbr opened this issue 6 years ago • 2 comments

This happens because of the path regex that should be changed to const path = '(?:[/?#][^\s"']*)?';

regevbr avatar Mar 26 '18 06:03 regevbr

See my comment in #55 https://github.com/niftylettuce/url-regex-safe.

niftylettuce avatar Aug 15 '20 08:08 niftylettuce

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.

niftylettuce avatar Aug 15 '20 10:08 niftylettuce