diff --git a/python/mta_core.py b/python/mta_core.py index 47fd958..1d2dec8 100644 --- a/python/mta_core.py +++ b/python/mta_core.py @@ -81,7 +81,7 @@ def PacifyHtmlComments( text ): with the mapping of string offset to Vim line/column.""" def replacement( match ): - return re.sub( '\S', 'x', match.group() ) + return re.sub( r'\S', 'x', match.group() ) return COMMENT_REGEX.sub( replacement, text )