1.

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» The correct choice is (b) exactly 5

The 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.


Discussion

No Comment Found