Question: In this part, you will write regular expressions for 4 problems and create test cases for them (5 matching, 5 non-matching as previously). You will
In this part, you will write regular expressions for 4 problems and create test cases for them (5 matching, 5 non-matching as previously). You will also practice interpreting a written specification into program requirements - remember, edge cases matter! An example of this is also shown further down.
- Even Strings: Strings between 10 and 20 characters (inclusive) which have even lengths.
- The allowed characters are not specified, and should be considered unrestricted -- maybe there is something in regex for this?
- Examples: automobile, i<3pancakes14!
- Non-Examples: 6chars, i<3pancakes13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
