MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the result when non greedy repetition is used on the pattern /a+?b/? |
| 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. | Matches letter a present in the string |
| Answer» B. Matches the letter b preceded by any number of a | |