Examveda
Examveda

Which of the following statements regarding the output of the function re.match is incorrect?

A. 'pq*' will match 'pq'

B. 'pq?' matches 'p'

C. 'p{4}, q' does not match 'pppq'

D. 'pq+' matches 'p'

Answer: Option D


This Question Belongs to Python Program >> Regular Expressions In Python

Join The Discussion

Related Questions on Regular Expressions in Python