The `.` in the IP address regex should be properly escaped.