Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Regexp to match IP address

by integral (Hermit)
on Aug 06, 2004 at 14:34 UTC ( #380568=note: print w/ replies, xml ) Need Help??


in reply to Regexp to match IP address

As well writing a (large) regexp yourself, there's Regexp::Common::net which packages up a regexp for matching ipv4 addresses.

(It uses a similar regexp to dsb's and mawe's above.)

--
integral, resident of freenode's #perl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://380568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-06-28 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (353 votes). Check out past polls.