Enhanced regular expression to be able to match IPv6 addresses (just
checking for valid characters)