def METHOD_NAME(self, data, limit=500, lines=5):
    matches = []
    content = self.obj.get_content()
    l_content = len(content)
    b_content = content.encode()
    for string_match in data.get('strings'):
        for string_match_instance in string_match.instances:
            start = string_match_instance.offset
            value = string_match_instance.matched_data.decode()
            end = start + string_match_instance.matched_length
            # str
            start = self.convert_byte_offset_to_string(b_content, start)
            end = self.convert_byte_offset_to_string(b_content, end)
            # Start
            if start > limit:
                i_start = start - limit
            else:
                i_start = 0
            str_start = content[i_start:start].splitlines()
            if len(str_start) > lines:
                str_start = '\n'.join(str_start[-lines + 1:])
            else:
                str_start = content[i_start:start]
            # End
            if end + limit > l_content:
                i_end = l_content
            else:
                i_end = end + limit
            str_end = content[end:i_end].splitlines()
            if len(str_end) > lines:
                str_end = '\n'.join(str_end[:lines + 1])
            else:
                str_end = content[end:i_end]
            matches.append((value, f'{str_start}{value}{str_end}'))
    return matches