grep BLOCK LIST grep EXPR,LIST #### scalar( grep m[\d{3}-\d{3}], values %batch_ids ) == 6; #### scalar( grep { m[\d{3}-\d{3}] } values %batch_ids ) == 6;