Bug Tracker

Changeset 2253

Show
Ignore:
Timestamp:
07/05/07 20:40:44 (1 year ago)
Author:
jeresig
Message:

Fix for Safari 1.3 crash (bug #1331).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/selector/selector.js

    r2247 r2253  
    6464        // Match: :even, :last-chlid, #id, .class 
    6565        new RegExp("^([:.#]*)(" +  
    66             ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < "3.0.0" ? "\\w" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)") 
     66            ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < 416.12 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)") 
    6767    ], 
    6868