From bebbad24480f564a8c269f8e73dbeaef1747f080 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Mon, 25 Feb 2019 20:13:28 +0000 Subject: Fix the All Survex page to work with 1623 area --- flatpages/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flatpages/views.py') diff --git a/flatpages/views.py b/flatpages/views.py index 672ec0c..8bc25ba 100644 --- a/flatpages/views.py +++ b/flatpages/views.py @@ -116,7 +116,7 @@ def editflatpage(request, path): if m: filefound = True preheader, headerargs, head, postheader, bodyargs, body, postbody = m.groups() - linksmatch = re.match('(.*)(.*)', body, re.DOTALL + re.IGNORECASE) + linksmatch = re.match(r'(.*)(.*)', body, re.DOTALL + re.IGNORECASE) if linksmatch: body, links = linksmatch.groups() if re.search(r"iso-8859-1", html): -- cgit v1.2.3