Fix MSIE regex detection