jQueryで属性値がマッチした要素を取得

HTML

<div id="res">result</div>
<select name="year">
    <option>y1</option>
    <option>y2</option>
</select>
<select name="month">
    <option>m1</option>
    <option>m2</option>
</select>
<select name="date">
    <option>d1</option>
    <option>d2</option>
</select>

JavaScript

jQuery( function( $ ) {

    $( 'select' ).filter( function () {
        return $( this ).attr('name').match(/^(y|m)/);
    }).change( function() {
            $( '#res' ).text( $( this ).val() );
    } );

} );