curl-users
Re: planning for IPv6
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 22 Jan 2001 15:42:09 +0100 (MET)
Date: Mon, 22 Jan 2001 15:42:09 +0100 (MET)
On Mon, 22 Jan 2001, Kjell Ericson wrote:
> Isn't the solution to the problem that you should accept this as a valid
> pattern? (Uhum, sounded too easy). What I mean is that if you recognize
> this as an illegal pattern (and even the position) then it would be easy
> to do a check whenever the error occurs and call a fallback routine to
> handle this pattern.
Oh darn it, how beautiful! I am just too stupid at times. Of course that's
the simple solution! Anything matching '[<hexdigits>:<hexdigits or : * X>]'
is of course an IPv6 IP address.
Thanks!
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2001-01-22