Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IPv6 address parsing/ validation

58 views
Skip to first unread message

SANKY

unread,
Nov 23, 2009, 9:06:36 AM11/23/09
to
Hi,

I need the regexp for parsing IPV6 addresses in any string of format
say:

"machine: linux ip address: BBBB::DDDD"

The regexp should be generic to include all sort of ipv6 addresses.

Also more importantly one more thing is i need some function to
validate if a given input is a valid ipv6 address.

Thanks a lot in advance....

David Gravereaux

unread,
Nov 23, 2009, 1:15:02 PM11/23/09
to
signature.asc

SANKY

unread,
Nov 23, 2009, 10:19:01 PM11/23/09
to
Hi,

Many thnks howevr i need a program since i could not use the tcllib as
its to be done in a router which has only minimal tcl.

David Gravereaux

unread,
Nov 24, 2009, 12:54:23 AM11/24/09
to

maybe copy the routines?

--


signature.asc

SANKY

unread,
Nov 24, 2009, 1:06:57 AM11/24/09
to
thnkx wil chk it.... :)

Andreas Kupries

unread,
Nov 24, 2009, 1:14:51 AM11/24/09
to
SANKY <sankar...@gmail.com> writes:

You do understand that can copy just the parts of Tcllib you need,
i.e. in this case the ip package, into your system ? There is no need
to copy the whole of Tcllib, at all.

--
So long,
Andreas Kupries <akup...@shaw.ca>
<http://www.purl.org/NET/akupries/>
Developer @ <http://www.activestate.com/>
-------------------------------------------------------------------------------

0 new messages