add match_last attribute to color last match