Let $\mathcal P$ be a convex polygon with $n$ sides, $n\geq3$. Any set of $n-3$ diagonals of $\mathcal P$ that do not intersect in the interior of the polygon determine a triangulation of $\mathcal P$ into $n-2$ triangles. If $\mathcal P$ is regular and there is a triangulation of $\mathcal P$ consisting of only isosceles triangles, find all the possible values of $n$.