domain/models/matched_substring library