Vidyalelo
Python · Q10

Regular Expressions in Python

Programming · Python · question 10

Q10

Which of the following creates a pattern object?

A.
re.create(str)
B.
re.regex(str)
C.
re.compile(str)
Answer
D.
re.assemble(str)

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board