Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: RE: Matching an IP address

by Fastolfe (Vicar)
on Aug 02, 2000 at 00:57 UTC ( #25594=note: print w/replies, xml ) Need Help??


in reply to RE: Matching an IP address
in thread Matching an IP address

Why exclude 0.0.0.0?

Replies are listed 'Best First'.
RE: RE: RE: Matching an IP address
by young perlhopper (Scribe) on Aug 02, 2000 at 01:00 UTC
    I didn't explicitly say that you should... i was just pointing out that his regex looks like it would allow:

    023.45.34.2
    000.34.23.2
    etc, etc...

    Thanks for pointing that out though, i wasn't terribly clear... -Mark mlogan@ccs.neu.edu

      This is a good point, and I believe some stacks even treat octets with a leading zero as octal versions of the IP address (!), in which case none of the solutions I've seen presented on this topic would be adequate.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2023-12-01 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?