return $.grep( array, function(value) {
            return matcher.test( value.label || value.value || value );
        });