nerdexam
Cisco

200-201 · Question #33

Which regular expression matches "color" and "colour"?

The correct answer is C. colou?r. The question mark indicates zero or one occurrences of the preceding element. For example, colou?r matches both "color" and "colour".

Submitted by takeshi77· Mar 6, 2026Security Monitoring

Question

Which regular expression matches "color" and "colour"?

Options

  • Acolo?ur
  • Bcol[0-8]+our
  • Ccolou?r
  • Dcol[0-9]+our

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    81% (26)
  • D
    13% (4)

Explanation

The question mark indicates zero or one occurrences of the preceding element. For example, colou?r matches both "color" and "colour".

Topics

#regular expressions#log analysis#pattern matching

Community Discussion

No community discussion yet for this question.

Full 200-201 Practice