It's too large to match with all which seems like an IPv6. It's not perfect, but it's detects more valid IPv6 than some others regex.