diff --git a/src/solutions/templatetags/highlight.py b/src/solutions/templatetags/highlight.py index faa61997..33d09870 100755 --- a/src/solutions/templatetags/highlight.py +++ b/src/solutions/templatetags/highlight.py @@ -35,10 +35,10 @@ def colorize_table(value,arg=None): except ClassNotFound: return mark_safe("
%s" % escape(value)) -rx_diff_pm = re.compile('^(?P
)?(?P()?(?P\+|-).*?)(?P
)?$')
-rx_diff_questionmark = re.compile('(?P)?(?P()?(?P\+|-).*?)(?P
)?$')
+rx_diff_questionmark = re.compile(r'(?P