Fixed regex for ipv4 matching