Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: RE: RE: Matching an IP address

by young perlhopper (Scribe)
on Aug 02, 2000 at 01:00 UTC ( #25601=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
RE: RE: RE: RE: Matching an IP address
by Fastolfe (Vicar) on Aug 02, 2000 at 01:15 UTC
    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://25601]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-08-14 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?