nerdexam
LPI

101-500 · Question #487

Which of the following regular expressions represents a single upper-case letter?

The correct answer is B. [A-Z]. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

Question

Which of the following regular expressions represents a single upper-case letter?

Options

  • A:UPPER:
  • B[A-Z]
  • C!a-z
  • D%C
  • E{AZ}

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    92% (47)
  • C
    4% (2)
  • D
    2% (1)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#Regular Expressions#Character Classes#Pattern Matching#grep/sed

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice