How often does? match the preceding expression in a regular expression?
Suggested Answer: D
Get Premium 702-100 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
EM
Emelda
1 month ago
I’m leaning towards D) Zero or one times. It’s a common case in regex.
WA
Wai
1 month ago
I feel like it's A) Two or more times. That fits the pattern.
WI
Willodean
1 month ago
I think it's C) Any number of times. Makes sense for regex.
GE
Gerald
2 months ago
I thought it could be B, but now I'm not so sure!
FL
Florinda
2 months ago
Definitely not D, that's for sure.
NA
Nathalie
2 months ago
Wait, isn't it A) Two or more times?
LI
Lino
2 months ago
Totally agree with C!
HA
Hannah
2 months ago
It's C) Any number of times.
AV
Avery
2 months ago
I believe "?" is used to indicate that the preceding character can appear once or not at all, so that would be zero or one times.
LE
Letha
3 months ago
I’m a bit confused. I thought "?" was for one or more times, but that might be "!"?
DO
Dorothy
3 months ago
I remember practicing with similar questions, and I think "?" matches the preceding expression zero or one times.
AR
Ardella
3 months ago
I think "?" means zero or one times, but I'm not completely sure. It feels like it could also be related to other quantifiers.