guess if the IP is a regex
only include localhost in examples