Bug Tracker

Ticket #1331: safari_unicode_regexp.patch

File safari_unicode_regexp.patch, 0.6 kB (added by jhenry, 1 year ago)
  • src/selector/selector.js

     
    6363 
    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 
    6969    multiFilter: function( expr, elems, not ) {