From the Regexp::Common::net docs:
$RE{net}{IPv4}Returns a pattern that matches a valid IP address in "dotted decimal"
So it only matches the traditional dotted-quad form of IPv4 addresses. That's just one format IPv4 can come in (albeit the most common). There are modifiers Regexp::Common allows for some other formats (like "dotted hex"), but not all possible formats (a simple 32-bit number, for example).
----
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: Re: Re: Re: Can you spot the problem?
by hardburn
in thread Can you spot the problem?
by dws
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |