whole matching :contains

whole matching :contains

I can across a situation where I was selecting based on content, but :contains was returning anything with a partial match. I wrote this quick selector to exact matches.
jQuery.extend(jQuery.expr[":"],
{
  content: "(a.textContent||a.innerText||'') == m[3]"
});<br clear="all">
--
<a href="http://morglog.alleycatracing.com">http://morglog.alleycatracing.com</a>
Lets make up more accronyms!
<a href="http://www.alleycatracing.com">http://www.alleycatracing.com</a>
LTABOTIIOFR! ROFL! ROFL! ROFL!
Upcoming alley cats, reviews, touring logs, and a general congregation of bike nerdity.