ExamGecko
Question list
Search
Search

Related questions











Question 129 - 200-201 discussion

Report
Export

Which regex matches only on all lowercase letters?

A.

[az]+

Answers
A.

[az]+

B.

[^az]+

Answers
B.

[^az]+

C.

az+

Answers
C.

az+

D.

a*z+

Answers
D.

a*z+

Suggested answer: A

Explanation:

The regex[az]+matches one or more lowercase letters from a to z.The plus sign (+) indicates that the preceding character set[az]can appear one or more times, thus matching strings of only lowercase letters1.

asked 07/10/2024
Haleem SHITOU OGUNGBEMI
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first