
davorg
Thaumaturge
/ Moderator
Aug 19, 2002, 1:14 AM
Post #3 of 7
(2138 views)
|
Of course, that also matches invalid IP addresses like 300.400.500.600 and the like. I haven't tested it, but the one provided in Regexp::Common may be more complex (or, rather, almost unreadable!) -- Dave Cross, Perl Hacker, Trainer and Writer http://www.dave.org.uk/ Get more help at Perl Monks
(This post was edited by davorg on Aug 19, 2002, 2:48 AM)
|