The expression a{5} will match _____________ characters with the previous regular expression.

The expression a{5} will match _____________ characters with the previous regular expression.
A. 5 or less
B. exactly 5
C. 5 or more
D. exactly 4
 
Answer: b
Explanation: The character {m} is used to match exactly m characters to the previous regular expression. Hence the expression a{5} will match exactly 5 characters and not less than that.
 

Tìm kiếm

Back
Top