(v1.2.4) Fixed valid IP pattern matching