For this task, I did not need inet6 (IPv6 stuff), so I left it out. The regex in its current state does not allow for that to be included without manually adding the entire second part