[jQuery] problems with :not() and attribute values

[jQuery] problems with :not() and attribute values

I get an error in jQuery when I do this:
<div>
  <span exclude="true"><span foo="bar">not me</span></span>
  <span foo="baz">me</span>
</div>
$('span').filter('[@foo]:not([@exclude="true"]>*)');
however, I don't get the error with:
$('span').filter('[@foo]:not([@exclude]>*)');
which is basically the same, except that i removed the value for the "exclude" attribute. The error is:
'1' is null or not an object
thrown from line 698:
// :not() is a special case that can be optomized by
 // keeping it out of the expression list
 if ( m[1] == ":" && m[2] == "not" )
where:
 m = re.exec(t)
 re =  /^([:.#]*)([a-z*_-][a-z0-9_-]*)/i
 t = "([@exclude=\"true\"]>*)"
Seems like it could be a bug where "not" can't handle attribute values or something. I didn't find this in the bugs but I have a hard time navigating them. Can anyone confirm or point me to the bug report?
I appreciate it,
-brito
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/