Solved

Which of the Following Statements About Regular Expressions Is True

Question 34

Multiple Choice

Which of the following statements about regular expressions is true.


A) The set of braces containing two numbers, {n,m}, matches between n and m occurrences (inclusively) of the pattern that it quantifies.
B) All of the regular expression quantifiers are greedy; they'll match as many occurrences of the pattern as possible until the pattern fails to make a match.
C) If a quantifier is followed by a question mark (?) , the quantifier becomes lazy and will match as few occurrences as possible as long as there is a successful match.
D) All of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions