$row->[2] =~ m/pattern/ or next; # 3rd field should match