Solved

Which of the Following Statements About Regular Expressions Is True

Question 42

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents