mybe you've heard of that rumors about IPv4-Address-Space? ;)
I think sometimes we would need IPv6-Addresses in docsis-configfiles so I've written a patch adding
encode_ip6 and decode_ip6 to docsis.
I've lent the regexp for IPv6-Addresses from http://www.regexlib.com but haven't foud anything about copyright-advise.
so I put the Link inside docsis_lex.c.
Hope this is of interest for implementation.