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',