Assuming strings of the format: "Robert's birthday is 10-22-90"
What does the following regex match?
// create a regular expression
Regex expression("J.*\\d[0-35-9]-\\d\\d-\\d\\d") ;
A) Birthdays that occur in April and that belong to people whose names begin with "J".
B) Birthdays that belong to people whose names begin with "J".
C) Birthdays that do not occur in April and that belong to people whose names begin with "J".
D) None of the above.
Correct Answer:
Verified
Q41: A tuple's _ uses the assignment operator
Q42: Which of the following statements about regular
Q43: Which of the following statements about regular
Q44: Which of the following initializes a vector<int>
Q45: Which of the following statements about regular
Q47: Which of the following statements is false?
A)
Q48: The raw string literal R"(multiple
Lines
Of
Text)"
Is treated as
Q49: Which of the following statements is true?
A)
Q50: C++11 enables you to define functions and
Q51: As of C++11, C++ now supports raw
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents