Regex ip and mask
Python pawa