making ping regex case insensitive