Sail E0 Webinar
Question
What will be the result when non greedy repetition is used on the pattern /a+?b/ ?
Options:
A .  Matches the letter b preceded by the fewest number of a’s possible
B .  Matches the letter b preceded by any number of a
C .  Matches letter a preceded by letter b, in the stack order
D .  None of the mentioned
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers