You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// match an ipv6 address or `[ipv6 address]:port`constipv6URIRegex=newRegExp(`(?:^${ipRegex.v6().source}$)|(?:^\\[${ipRegex.v6().source}\\]:([0-9]{1,5})$)`);// match an ipv4 address or `ipv6 address:port`constipv4URIRegex=newRegExp(`^(?:${ipRegex.v4().source})(?::([0-9]{1,5}))?$`);
Is there any reccomendation for using this library to validate tcp addresses?
eg:
127.0.0.1:8080
,3.4.5.6:2345
I imagine I could just construct a new RegExp from this one w/
The text was updated successfully, but these errors were encountered: