':param e1: First :class:`flexget.entry.Entry`
:param e2: Second :class:`flexget.entry.Entry`
:param fields: List of fields which are checked
:return: List of field names in common'

def entry_intersects(self, e1, e2, fields=None, exact=True):

    if (fields is None):
        fields = []
    common_fields = []
    for field in fields:
        if ((field not in e1) or (field not in e2)):
            log.trace(u'field    %s    is    not    in    both    entries', field)
            continue
        v1 = e1[field]
        v2 = e2[field]
        if (((not exact) and (v2 in v1)) or (v1 == v2)):
            common_fields.append(field)
        else:
            log.trace(u'not    matching')
    return common_fields
