What character do you add to the "+" or "*" to indicate that the match is to be done in a non-greedy manner?
Answers
Answered by
2
are ye computer ka question h ya maths ka
Answered by
2
"?" is the character that can be added to + and * to indicate the match is to be done in a non greedy manner.
Explanation:
- *? is applicable to the preceding character and specifies to match 0 or more times in "non greedy mode"
- +? is applicable to the preceding character and specifies match 1 or more times in the "non greedy mode"
- ?? is applicable to the preceding characters and specifies that the match is zero or one time in non-greedy mode.
To know more:
1. https://brainly.in/question/13419276
2. https://brainly.in/question/10210346
Similar questions