Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 1 Question 99 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 99
Topic #: 1
[All 101-500 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Milly
2 months ago
C) !a-z? That's the opposite of what we want! We need to match uppercase, not exclude lowercase.
upvoted 0 times
...
Janine
2 months ago
A) :UPPER:? What is this, a special regex command from some obscure programming language? I'll stick with the good old-fashioned [A-Z].
upvoted 0 times
Geraldine
2 months ago
Yeah, [A-Z] is the standard way to represent a single upper-case letter in regex.
upvoted 0 times
...
Leontine
2 months ago
I agree, [A-Z] is more straightforward and widely recognized.
upvoted 0 times
...
Denise
2 months ago
I think :UPPER: is not a common regex command, I prefer using [A-Z] as well.
upvoted 0 times
...
...
Lashawnda
2 months ago
I'm not sure about this one. Can someone explain why option B) is the correct answer?
upvoted 0 times
...
Marnie
2 months ago
Hah, E) {AZ}? What is this, a secret code? I think the designers of this exam have been watching too many spy movies.
upvoted 0 times
Bernardine
24 days ago
Let's stick with the more straightforward options like A) :UPPER: or B) [A-Z].
upvoted 0 times
...
Ahmad
25 days ago
Definitely, the exam designers are trying to be sneaky with that one.
upvoted 0 times
...
Evangelina
26 days ago
I think it's just a trick answer to throw us off.
upvoted 0 times
...
Tennie
27 days ago
Yeah, E) {AZ} does look like a secret code.
upvoted 0 times
...
Carisa
28 days ago
E) {AZ}
upvoted 0 times
...
Ula
29 days ago
D) %C
upvoted 0 times
...
Carey
1 months ago
C) !a-z
upvoted 0 times
...
Lavonna
1 months ago
B) [A-Z]
upvoted 0 times
...
Wilburn
1 months ago
A) :UPPER:
upvoted 0 times
...
...
Vallie
3 months ago
I agree with Kenneth. Regular expression [A-Z] matches any single upper-case letter.
upvoted 0 times
...
Mitsue
3 months ago
D) %C? Really? That's just nonsense. How does that even make sense as a regular expression?
upvoted 0 times
Rashad
2 months ago
E) {AZ} is not a valid regular expression for a single upper-case letter.
upvoted 0 times
...
Brigette
2 months ago
C) !a-z is not a valid regular expression for a single upper-case letter.
upvoted 0 times
...
Francoise
2 months ago
C) !a-z is not a valid regular expression for a single upper-case letter.
upvoted 0 times
...
Maia
2 months ago
B) [A-Z] also represents a single upper-case letter.
upvoted 0 times
...
German
2 months ago
A) :UPPER: is the correct regular expression for a single upper-case letter.
upvoted 0 times
...
Mee
2 months ago
B) [A-Z] also represents a single upper-case letter.
upvoted 0 times
...
Jovita
3 months ago
A) :UPPER: is the correct regular expression for a single upper-case letter.
upvoted 0 times
...
...
Kenneth
3 months ago
I think the answer is B) [A-Z]. It represents a range of upper-case letters.
upvoted 0 times
...
Lawana
3 months ago
B) [A-Z] is the correct answer. It's the only one that represents a single uppercase letter.
upvoted 0 times
Anisha
3 months ago
I agree, [A-Z] is the correct regular expression for a single upper-case letter.
upvoted 0 times
...
Sheridan
3 months ago
B) [A-Z] is the correct answer. It's the only one that represents a single uppercase letter.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77