public MarcField matchValue ( Pattern pattern ) { if ( value != null && pattern . matcher ( value ) . matches ( ) ) { return this ; } for ( Subfield subfield : subfields ) { if ( pattern . matcher ( subfield . getValue ( ) ) . matches ( ) ) { return this ; } } return null ; }
Search for fields that match a pattern .