def METHOD_NAME(self, text, index, field=None, misc=False):
    fields = M_KEYS[field] if not misc else self.misc_fields
    for key in fields:
        search = re.search(key, text, re.IGNORECASE)
        if search:
            start, end = search.span()
            if misc:
                _field = '{}_misc'.format(key)
            else:
                _field = field
            if self.field_meta.get(_field):
                continue
            self.field_meta[_field] = {
                'text_index': index,
                'text': text,
                'start_index': start,
                'end_index': end,
                'score': 100,
            }
            if not self.text_meta.get(index):
                self.text_meta[index] = []
            self.text_meta[index].append(_field)
            if not misc:
                break