Perchè utilizzi ereg()? Le PCRE sono molto migliori.

In ogni caso, devi effettare l'escaping \* per poter inserire un meta carattere in una classe.