def get_all_arxiv_ids(text):
    '''returns all arxiv ids present in a string `text`'''
    ids = []
    for id in arxiv_id.findall(text):
        ids.append(id)
    return list(set(ids))
returns all arxiv ids present in a string `text`
pix2tex/dataset/arxiv.py