Examveda

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

B. It compiles a regular expression

C. It converts strings to regular expressions

D. It specifies a starting position

Answer: Option A


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

Join The Discussion

Related Questions on Regular Expressions in Python