From 28bf983130bc7013944174a6aef6b5db4a0e4bd6 Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Aug 08 2016 14:15:26 +0000 Subject: Use raw strings for regular expression pattern --- diff --git a/pagure/__init__.py b/pagure/__init__.py index 312ef6a..8192ed9 100644 --- a/pagure/__init__.py +++ b/pagure/__init__.py @@ -86,7 +86,7 @@ class RepoConverter(BaseConverter): a single slash. :param map: the :class:`Map`. """ - regex = '[^/]*(/[^/]+)?' + regex = r'[^/]*(/[^/]+)?' #weight = 200