-
Bug
-
Resolution: Unresolved
-
Major
-
RH134 - RHEL10.0-en-2-20250821
-
None
-
False
-
-
False
-
-
-
en-US (English)
Please fill in the following information:
URL: | https://rol.redhat.com/rol/app/courses/rh134-10.0/pages/ch02s03 |
Reporter RHNID: | shasingh01 |
Section Title: | Quiz: Matching Text with Regular Expressions |
Issue description
The quiz question:
"Which expression matches lines that contain at least three consecutive lowercase letters?"
currently only accepts the answer:
[a-z]
{3,}
as correct. However, the option:
[a-z][a-z][a-z]
is also correct, as it matches any substring of three consecutive lowercase letters within a line. Despite this, the quiz marks it as incorrect.
Suggestion/Feedback
Update the quiz logic to accept [a-z][a-z][a-z] as a correct alternative answer, or update the question wording to specify if a generalized quantifier is expected (e.g., "Use regex with quantifiers").
Please review
Steps to reproduce:
Workaround:
Expected result: