Description of problem: The understanding of all students and myself is that this question is looking for all words in the specified dictionary beginning with a capital letter and ending in exactly 2 vowels. By that definition, the following regex should meet the criterion: "^([[:upper:]].*[^aeiouAEIOU][aeiouAEIOU]|[^AEIOUa-z][aeiouAEIOU]|[AEIOU])[aeiouAEIOU]$ This renders words in ALL CAPS, 2 and 3 letter words that begin with a capital letter and end in exactly 2 vowels. After trying everything I and the students could think of, I "cheated" and read the script. You are NOT counting all caps, 2 and 3 letter words (and yes, there ARE at least one of each of these). Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Either be more specific about the results, or make the grading script more flexable. Additional info:
right you are... simplified to ^[[:upper:]][aeiouAEIOU]+$ (capitalized followed by only vowels, excluding single letter words)