Let $I$ be a fractional ideal of the ring $A$. Now $I$ is called regular if $I$ contains a regular element.
Are regular ideals invertible?
A fractional ideal $I$ is called invertible if $II^{-1} = A$ where $I^{-1} = \{r \in \operatorname{Frac}(A) \mid rI \subseteq A\}$. Now since there is some regular $a\in I$, we know that $a^{-1}\in \operatorname{Frac}(A)$ and thus $1 = aa^{-1} \in II^{-1}$ which implies $II^{-1} = A$ and thus the invertibility of $I$.
Does my proof contain any mistake or is this just simply true?