model/matched_substring library