Fixed oldip regexp to make it more portable