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

Missing IPv6 support

Open vith opened this issue 6 years ago • 2 comments

Looks like ip-regex already provides the patterns:

https://github.com/sindresorhus/ip-regex/blob/605041b6a32ac7cca8b9c827bb9abc34e9336be0/index.js#L9-L20

vith avatar Oct 01 '18 16:10 vith

@kevva please have a look at this and the mentioned ip-regex module. have run into this issue with dependent modules.

shellscape avatar Dec 18 '18 14:12 shellscape

This issue is fixed in my maintained and modern version of this package at https://github.com/niftylettuce/url-regex-safe. You should be able to switch from url-regex to url-regex-safe now. See the updated list of options as I added some new ones, and changed a few defaults to more sensible ones (since not everyone is parsing Markdown for instance).

niftylettuce avatar Aug 15 '20 07:08 niftylettuce