Fix the regex since IE 11's UA changed

Recently IE 11 seems to changed the UA string. So we also need to
fix it. See also yui/yui3#1045.