in reply to (tye)Re: IPv4 regex (Net::IPv4Addr)
in thread IPv4 regex

perl -e 'use integer; print 3000000000 + 1'

Replies are listed 'Best First'.
(tye)Re2: IPv4 regex (Net::IPv4Addr)
by tye (Sage) on Feb 19, 2001 at 11:34 UTC

    The code in question didn't use integer, and "3000000000 + 1" doesn't match \d+, but other than that, uh, yeah, I suppose you'd want to defend against such values in your IP addresses. (:

            - tye (but my friends call me "Tye")