url-regex
url-regex copied to clipboard
Missing IPv6 support
Looks like ip-regex
already provides the patterns:
https://github.com/sindresorhus/ip-regex/blob/605041b6a32ac7cca8b9c827bb9abc34e9336be0/index.js#L9-L20
@kevva please have a look at this and the mentioned ip-regex
module. have run into this issue with dependent modules.
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).