LPI
101-500 · Question #108
What does the ? symbol within regular expressions represent?
The correct answer is C. Match the preceding qualifier zero or one times. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
GNU and Unix Commands
Question
What does the ? symbol within regular expressions represent?
Options
- AMatch the preceding qualifier one or more times.
- BMatch the preceding qualifier zero or more times.
- CMatch the preceding qualifier zero or one times.
- DMatch a literal ? character.
How the community answered
(39 responses)- A8% (3)
- B3% (1)
- C87% (34)
- D3% (1)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#regex quantifiers#pattern matching#regular expressions#text processing
Community Discussion
No community discussion yet for this question.