[Console] Use raw string for regex compile

This commit is contained in:
Calum Lind 2017-02-12 11:26:31 +00:00
parent 04b8b14828
commit 608ecae5fd

View File

@ -124,7 +124,7 @@ def format_row(row, column_widths):
return ''.join([format_column(row[i], column_widths[i]) for i in range(0, len(row))])
_strip_re = re.compile('\\{!.*?!\\}')
_strip_re = re.compile(r'\{!.*?!\}')
_format_code = re.compile(r'\{\|(.*)\|\}')