[Console] Use raw string for regex compile
This commit is contained in:
parent
04b8b14828
commit
608ecae5fd
@ -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))])
|
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'\{\|(.*)\|\}')
|
_format_code = re.compile(r'\{\|(.*)\|\}')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user