Source: https://www.eila.univ-paris-diderot.fr/_media/user/alexandra_volanschi/cours-il/regex.pdf