function/selector to filter inputs by value
<p>Is there a built-in function/selector in jQuery to filter the inputs by value?</p>

<p>I can create a custom selector:</p>

<pre><code>$.extend($.expr[":"], {
    val: function(elem, index, match) {
       return $(elem).val() == match[3];
    }
});
</code></pre>

<p>and use it like this: <code>$("input:val('Some text')")</code>.</p>

<p>I was just wondering if something like this already exists or maybe there is a better way.</p>
