My professor gave us this pattern "/[aeiou]+*[a-z]?/" and I'm trying to find matches in "ae12abc r2d2 a1steaksauce".
The resulting matches the professor gave us are ae12a, a1s, eak, auc, and e.
I think I'm totally misunderstanding how this is supposed to work. Why are ae12abc, r2d, or a1steaksauce not possible matches? Thanks in advance, I really appreciate any help with this!