Examveda

Which of the following will result in an error?

A. >>> p = re.compile("d")
>>> p.search("door")

B. >>> p = re.escape(‘hello’)

C. >>> p = re.subn()

D. >>> p = re.purge()

Answer: Option C


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

Join The Discussion

Related Questions on Regular Expressions in Python