Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: IPv4 regex correction

by ryan (Pilgrim)
on Feb 18, 2001 at 17:44 UTC ( #59244=note: print w/replies, xml ) Need Help??


in reply to IPv4 regex

Correction sorry,

The double brackets are because I wasn't paying attention when I cut and pasted it and proceeded to comment on it.

My regex should read:
/^(\d{1,3}\.){3}\d{1,3}$/

*yawn* :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://59244]
help
Chatterbox?
[Discipulus]: uch; everytime i want to read some source code i finally choke against an XS..

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2016-12-05 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (79 votes). Check out past polls.