title: Vowel regexp in jflex
body: <p>So I did an exercise using jflex, which is about counting the amount of words from an input text file that contains more than 3 vowels. What I end up doing was defining a token for word, and then creating a java function that receives this text as input, and check each character. If its a vowel I add up the counter and then I check if its greater than 3, if it is I add up the counter of the amount of words.</p>
  
  <p>What I want to know, if there is a regexp that could match a word with more than 3 vowels. I think it would be a cleaner solution. Thanks in advance.</p>
  
  <p>tokens</p>
  
  <pre><code>   Letra = [a-zA-Z]
     Palabra = {Letra}+
  </code></pre>