Set flags=8 since now the file is read as a MULTILINE string by default

This commit is contained in:
Loren Gordon 2015-10-21 16:53:40 -04:00
parent 89e8dcdffd
commit b25e609e9e
2 changed files with 3 additions and 3 deletions

View file

@ -1278,7 +1278,7 @@ def replace(path,
pattern,
repl,
count=0,
flags=0,
flags=8,
bufsize=1,
append_if_not_found=False,
prepend_if_not_found=False,
@ -1798,7 +1798,7 @@ def blockreplace(path,
def search(path,
pattern,
flags=0,
flags=8,
bufsize=1,
):
'''

View file

@ -2431,7 +2431,7 @@ def replace(name,
pattern,
repl,
count=0,
flags=0,
flags=8,
bufsize=1,
append_if_not_found=False,
prepend_if_not_found=False,