-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
@moormaster
Description
Website-link: https://coderdojopotsdam.github.io/regex-tutorial/en/05-02.html
Expected Behavior
Only regular expressions matching the whole numbers should be considered valid.
Actual Behavior
"[048]" is considered a valid answer to the challenge though it only matches the last digits of 20, 24, 28.
Actions to Reproduce
Enter "[048]" as user input into the challenge
Solution Description
If the reference regex starts with ^ and ends with $ the user input should also be checked against each whole example line.
See PR #121.
Languages
- English (en)
- German (de)
Metadata
Metadata
Assignees
Labels
No labels