diff --git a/scripts/python/md-split.py b/scripts/python/md-split.py index dfa324d1c..d10b91a63 100755 --- a/scripts/python/md-split.py +++ b/scripts/python/md-split.py @@ -181,7 +181,7 @@ def is_inside_code(line, indent_depth): def stripped(line): # Remove well-formed html tags, fixing mistakes by legitimate users sline = TAG_REGEX.sub('', line) - sline = re.sub('[()\[\]#*]', ' ', line) + sline = re.sub(r'[()[\]#*]', ' ', line) return sline def dedent(line, indent_depth):