From: John Resig Date: Wed, 4 Jul 2007 16:15:09 +0000 (+0000) Subject: Added a fix for bug #1331, which caused Safari 1.3 to crash. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=38d74fe9122a0474221388084368ebbdd8c6f938;p=jquery.git Added a fix for bug #1331, which caused Safari 1.3 to crash. --- diff --git a/src/selector/selector.js b/src/selector/selector.js index 5f6f87b..04b68d3 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -63,7 +63,7 @@ jQuery.extend({ // Match: :even, :last-chlid, #id, .class new RegExp("^([:.#]*)(" + - ( jQuery.chars = "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)") + ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < "3.0.0" ? "\\w" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)") ], multiFilter: function( expr, elems, not ) {