Vidyalelo
Python · Q47

Regular Expressions in Python

Programming · Python · question 47

Q47

What is the purpose of the re.MULTILINE flag in Python?

A.
It makes the ^ and $ characters match the beginning and end of each line
Answer
B.
It compiles a regular expression
C.
It converts strings to regular expressions
D.
It specifies a starting position

Answer: Option A

Solution

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