remove DOTALL on REV_LINE_RE

This commit is contained in:
Anthony Sottile 2020-11-06 14:36:43 -08:00
parent c972205214
commit 64d57ba466

View file

@ -84,9 +84,7 @@ def _check_hooks_still_exist_at_rev(
) )
REV_LINE_RE = re.compile( REV_LINE_RE = re.compile(r'^(\s+)rev:(\s*)([\'"]?)([^\s#]+)(.*)(\r?\n)$')
r'^(\s+)rev:(\s*)([\'"]?)([^\s#]+)(.*)(\r?\n)$', re.DOTALL,
)
def _original_lines( def _original_lines(