nerdexam
LPI

101-400 · Question #108

What does the ? symbol within regular expressions represent?

The correct answer is C. Match the preceding qualifier zero or one times. See the full explanation below for the reasoning.

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

(14 responses)
  • A
    7% (1)
  • B
    14% (2)
  • C
    71% (10)
  • D
    7% (1)

Community Discussion

No community discussion yet for this question.

Full 101-400 Practice