Is there any expression that can replace the flag re.DOTALL
in the following line of python code:
r = re.compile(r'<p>.*<p>.', re.IGNORECASE | re.MULTILINE | re.DOTALL)
like add any expression to this regular expression: r'<p>.*<p>.'
to be something like :
r = re.compile(r'<p>something.*<p>.', re.IGNORECASE | re.MULTILINE )
but need to keep the same behavior, which is matching multiline string (paragraph)
Thanks