Add ip regex to constants