Examveda

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

A. It makes the . character match any character, including newline

B. It defines a new flag

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