|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Re: Can you spot the problem?by hardburn (Abbot) |
| on Mar 05, 2004 at 15:45 UTC ( #334250=note: print w/ replies, xml ) | Need Help?? |
|
Don't parse IP addresses with regexen in real code. The OP makes an amusing puzzle (one which I have admittedly not figured out yet), but nothing more. There are far more valid formats for IPv4 than the traditional dotted-quad one. I don't even want to think about all the formats available for IPv6. Look at Valid IP? for more info. ---- Note: All code is untested, unless otherwise stated
In Section
Meditations
|
|
||||||||||||||||||||||||||