Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 93437
Status: resolved
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: OSCHWALD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Regexp::Common::net should have a strict option for IPv4 addresses
Currently Regexp::Common::net's IPv4 regex will match dotted decimal IPs that are prefixed with zeros, e.g., '01.01.01.01'. Although this is arguably correct, such addresses are ambiguous and they often don't work when passed to other functions such as Socket::inet_pton. It would be nice if there was a strict option for the dotted decimal match that would not much such addresses. Greg
This was implemented in version 2016052901