Closed postmodern closed 5 months ago
Add a regex for validating IPv4 and IPv6 CIDR ranges to Network::IPRange::CIDR. This regex will be used to validate strings given to CIDR#initialize. If the string does not match the regex, an ArgumentError should be raised.
Network::IPRange::CIDR
CIDR#initialize
ArgumentError
Implemented by 6b5fd7d.
Add a regex for validating IPv4 and IPv6 CIDR ranges to
Network::IPRange::CIDR
. This regex will be used to validate strings given toCIDR#initialize
. If the string does not match the regex, anArgumentError
should be raised.