Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Regular Expression for IPv6 addresses

  • From: Richard E. Brown
  • Date: Thu Feb 04 17:52:33 2010

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@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





Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.