From: Trevor Parscal Date: Fri, 1 Oct 2010 19:20:27 +0000 (+0000) Subject: Improves on r73032 by making more consistent use of escape sequences. X-Git-Tag: 1.31.0-rc.0~34709 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27static%27%2C%20filename=%27css/%22%24fichier/%7B%7B%20attachment.url%20%7D%7D?a=commitdiff_plain;h=4f166d4fe8f8fe72f36f1c1b104eb819479e4c85;p=lhc%2Fweb%2Fwiklou.git Improves on r73032 by making more consistent use of escape sequences. --- 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',