// :has()
has: "jQuery.find(m[3],a).length"
},
+ // DEPRECATED
"[": "jQuery.find(m[2],a).length"
},
// Match: [@value='test'], [@foo]
/^\[ *(@)([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,
+ // DEPRECATED
// Match: [div], [div p]
/^(\[)\s*(.*?(\[.*?\])?[^[]*?)\s*\]/,
// Set the correct context (if none is provided)
context = context || document;
+ // DEPRECATED
// Handle the common XPath // expression
if ( !t.indexOf("//") ) {
//context = context.documentElement;
t = t.substr(2,t.length);
+ // DEPRECATED
// And the / root expression
} else if ( !t.indexOf("/") && !context.ownerDocument ) {
context = context.documentElement;
var r = [];
last = t;
+ // DEPRECATED
t = jQuery.trim(t).replace( /^\/\//, "" );
var foundToken = false;
if ( t.indexOf(" ") == 0 ) continue;
foundToken = true;
} else {
+ // (.. and /) DEPRECATED
re = /^((\/?\.\.)|([>\/+~]))\s*(\w*)/i;
if ( (m = re.exec(t)) != null ) {
if ( m == "+" ) break;
}
+ // DEPRECATED
} else
r.push( ret[j].parentNode );