[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regular Expression for IPv6 addresses
- Subject: Regular Expression for IPv6 addresses
- From: Richard.E.Brown at dartware.com (Richard E. Brown)
- Date: 04 Feb 2010 17:50:35 -0500
Folks,
My company, Dartware, have derived a regex for testing whether an IPv6 address  
is correct. I've posted it in my blog:
	http://intermapper.ning.com/profiles/blogs/a-regular-expression-for-ipv6
This has links to the regular expression, a (Perl) program that tests various  
correct and malformed addresses, and a Ruby implementation of the same.
Hope it's useful.
Rich Brown                    richard.e.brown at dartware.com
Dartware, LLC                 http://www.dartware.com
66-7 Benning Street           Telephone: 603-643-9600
West Lebanon, NH 03784-3407   Fax: 603-643-2289