Updated IP regex pattern