Bug 162631

Summary: Book 8, Chapt. 3, Exercise 1, Item 4: Need additional specificity
Product: [Retired] Red Hat Academy Reporter: Donald Greer <dgreer>
Component: RHA030 CurriculumAssignee: Bowe Strickland <bowe>
Status: CLOSED EOL QA Contact: Bowe Strickland <bowe>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 16:49:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Donald Greer 2005-07-06 23:03:15 UTC
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:

Comment 1 Bowe Strickland 2005-08-03 01:11:45 UTC
right you are... simplified to 

^[[:upper:]][aeiouAEIOU]+$

(capitalized followed by only vowels, excluding single letter words)