Yeast infection

Can a yeast infection be a pregnancy symptom? I had one before I found out I was pregnant last month but ended up having a miscarriage. I also remember having one before when I was pregnant with my son.