It selects v4 and v6 IPs with a simple regex that doesn't actually check for the validity of the IPs.