I added " && !/opera/i.test(navigator.userAgent)" because I have to check Opera browsers identifying themselves as MSIE or Mozilla/5 anyway, but the fact that /MSIE (5\.5)|[6789]/ is true is still confusing...
That's very weird, and I have no idea why it's returning true jofa! Your regex seems perfectly valid. Is there any logic before that regex that could be causing the problem?
Bookmarks