Equivalence Selector
<p>Does anyone know if there's an equivalence selector in jQuery? Of course <code>:contains</code> exist, but what if we want exact matches?</p>

<p>My workaround is to do</p>

<pre><code>$('a').filter(function() {
   return $(this).text() == myVar;
}).addClass('highlight');
</code></pre>

<p>But I was hoping of a much easier method of doing <code>$('a:equals(' + myVar + ')').addClass('highlight')</code> instead.  Of course I could create the selector, but I'd have assumed something exists in the standard library.</p>

<p>Cheers</p>
