What does is the function of +
One or more repetitions required
What is the function of ?
0 or one repetitions required
What is the function of |
Means or
What does [abc] mean?
a or b or c
What is the function of *
Means 0 or more repetitions required
What does [^abc] mean?
Any characters except a or b or c
What does [a-z] mean?
Any lowercase character in range a-z
Write a regular expression that matches:
The letter b, followed by zero or more occurrences of “cd”, followed by a single e or “fg”
b(cd)*(e|fg)