May-07-2019, 09:38 AM
If you want the dot
.
to match the newline character, you need to compile the pattern with the re.DOTALL
flag.