Added a fix for bug #1331, which caused Safari 1.3 to crash.

This commit is contained in:
John Resig 2007-07-04 16:15:09 +00:00
parent fa7bfcfd78
commit 38d74fe912

View file

@ -63,7 +63,7 @@ jQuery.extend({
// Match: :even, :last-chlid, #id, .class // Match: :even, :last-chlid, #id, .class
new RegExp("^([:.#]*)(" + 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 ) { multiFilter: function( expr, elems, not ) {