Match the following Regular Expression Quantifiers with their appropriate values: 1) * a) match 0 or 1 times 2) + b) match exactly n times 3) ?

Match the following Regular Expression Quantifiers with their appropriate values:
1) * a) match 0 or 1 times
2) + b) match exactly n times
3) ? c) match at least n times
4) {n} d) match 0 or more times
5) {n,} e) match 1 or more times

Match the following Regular Expression Quantifiers with their appropriate values:
1) * a) match 0 or 1 times
2) + b) match exactly n times
3) ? c) match at least n times
4) {n} d) match 0 or more times
5) {n,} e) match 1 or more times

A.
1-e, 2-d, 3-a, 4-c, 5-b

B.
1-d, 2-e, 3-a, 4-b, 5-c

C.
1-a, 2-e, 3-d, 4-c, 5-b

D.
1-d, 2-a, 3-e, 4-b, 5-c

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *