From b3a28fbcb08394dc7c255a774b2b3e439a7e4b01 Mon Sep 17 00:00:00 2001
From: Edward Betts <edward@4angle.com>
Date: Fri, 26 Apr 2019 11:27:09 +0100
Subject: [PATCH] Escape some more regular expressions.

---
 sourcing/model.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sourcing/model.py b/sourcing/model.py
index 3ee0735..09703dc 100644
--- a/sourcing/model.py
+++ b/sourcing/model.py
@@ -33,8 +33,8 @@ reserved_name = ['root', 'admin', 'administrator', 'support', 'info',
     'file', 'ftp', 'error', 'warning', 'the', 'assistance', 'maintenance',
     'controller', 'head', 'chief', 'anon']
 
-re_username = re.compile('^\w+$', re.U)
-re_full_name = re.compile('^([-.\'" ]|[^\W\d_])+$', re.U)
+re_username = re.compile(r'^\w+$', re.U)
+re_full_name = re.compile(r'^([-.\'" ]|[^\W\d_])+$', re.U)
 
 def item_url():
     return url_for('view.view_item',