my $matches = grep {/1=$TAB_1/ && /5=$TAB_5/} @contents ;