Fixed a bug with space-less [@foo*=bar].
This commit is contained in:
parent
0a9c569839
commit
7f1c69041d
2
jquery/jquery.js
vendored
2
jquery/jquery.js
vendored
|
@ -668,7 +668,7 @@ jQuery.filter = function(t,r,not) {
|
||||||
g = function(a,f) {return jQuery.grep(a,f,true);};
|
g = function(a,f) {return jQuery.grep(a,f,true);};
|
||||||
|
|
||||||
while ( t && t.match(/^[:\\.#\\[a-zA-Z\\*]/) ) {
|
while ( t && t.match(/^[:\\.#\\[a-zA-Z\\*]/) ) {
|
||||||
var re = /^\[ *@([a-z0-9*()_-]+) *([~!|*$^=]*) *'?"?([^'"]*)'?"? *\]/i;
|
var re = /^\[ *@([a-z*_-][a-z0-9()_-]*) *([~!|*$^=]*) *'?"?([^'"]*)'?"? *\]/i;
|
||||||
var m = re.exec(t);
|
var m = re.exec(t);
|
||||||
|
|
||||||
if ( m )
|
if ( m )
|
||||||
|
|
Loading…
Reference in a new issue