[ 源代码: node-ip-regex ]
软件包:node-ip-regex(3.0.0-1)
Regular expression for matching IP addresses
Returns a regex for matching both IPv4 and IPv6.
Only match an exact string. Useful with RegExp#test() to check if a string is an IP address.
Node.js is an event-based server-side JavaScript engine.