in reply to Re: Can you spot the problem?
in thread Can you spot the problem?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Can you spot the problem?
by ambrus (Abbot) on Mar 05, 2004 at 21:28 UTC | |
by hardburn (Abbot) on Mar 05, 2004 at 22:21 UTC | |
by Abigail-II (Bishop) on Mar 09, 2004 at 12:58 UTC |