Uses greedy matching to select longest possible emoji