(names, name)
return [int(a.group(3) or 0) for x in filter(None, names)
            for a in re.finditer(RE_FIND_INDEX.format(re.escape(name)), x)]
Return list of indices which occur in a names list for a given name.
    :param names: list of strings
    :param name: str
    :return: list of indices
Return list of indices which occur in a names list for a given name.
    :param names: list of strings
    :param name: str
    :return: list of indices
Return list of indices which occur in a names list for a given name . : param names : list of strings : param name : str : return : list of indices
def get_indices(names, name):
    """
    Return list of indices which occur in a names list for a given name.
    :param names: list of strings
    :param name: str
    :return: list of indices
    """
    return [int(a.group(3) or 0) for x in filter(None, names)
            for a in re.finditer(RE_FIND_INDEX.format(re.escape(name)), x)]
def get_indices ( names , name ) : return [ int ( a . group ( 3 ) or 0 ) for x in filter ( None , names ) for a in re . finditer ( RE_FIND_INDEX . format ( re . escape ( name ) ) , x ) ]