fix ip matching regex