update bashrc IP address regex to be more accurate