fixes issue #1
new code uses regex to parse out ip addresses and test for ones that are new