From 4f166d4fe8f8fe72f36f1c1b104eb819479e4c85 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Fri, 1 Oct 2010 19:20:27 +0000 Subject: [PATCH] Improves on r73032 by making more consistent use of escape sequences. --- resources/jquery/jquery.client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/jquery/jquery.client.js b/resources/jquery/jquery.client.js index 75da2690e8..8b3575e1b5 100644 --- a/resources/jquery/jquery.client.js +++ b/resources/jquery/jquery.client.js @@ -56,7 +56,7 @@ jQuery.client = new ( function() { 'msie', 'safari', 'ps3' ]; // Used as matches 2, 3 and 4 in version extraction - 3 is used as actual version number - var versionSuffix = '(\/|\;?\s|)([a-z0-9\.\+]*?)(\;|dev|rel|\\)|\s|$)'; + var versionSuffix = '(\\/|\\;?\\s|)([a-z0-9\\.\\+]*?)(\\;|dev|rel|\\)|\\s|$)'; // Names of known browsers var names = [ 'camino', 'chrome', 'firefox', 'netscape', 'konqueror', 'lynx', 'msie', 'opera', 'safari', 'ipod', -- 2.20.1