Type:
Class
Constants:
Regex256
:
/0
|1(?:[0-9][0-9]?)?
|2(?:[0-4][0-9]?|5[0-5]?|[6-9])?
|[3-9][0-9]?/x
Regular expression IPv4 addresses must match.
Regex
:
/\A(#{Regex256})\.(#{Regex256})\.(#{Regex256})\.(#{Regex256})\z/
A Resolv::DNS IPv4 address.