← Quiz: Regular Expressions: all 10 questions
Quiz: Regular Expressions · Question 2 of 10
What does ab mean?
What does ab* mean?
- A.(ab)*
- B.a followed by zero or more b's
- C.zero or more a's followed by b
- D.a or b repeated
Answer & explanation
Correct answer: a followed by zero or more b's
Star binds tighter than concatenation.
Can you get the rest right without peeking?
Take the timed Quiz: Regular Expressions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →