rewrote ipv6 regex