The goal of this function is to return an array with regex(s) to match every ip address in a subnet.