Removed unnecessary backslash

This commit is contained in:
Maciej Wilczyński 2017-04-20 13:48:02 +02:00
parent 0d628563e6
commit 7c6f92b3c7

View File

@ -21,7 +21,7 @@ else:
content = file.read() content = file.read()
content = re.sub(r"`\*(.*)`[\\]?", r"*\g<1>", content) content = re.sub(r"`\*(.*)`[\\]?", r"*\g<1>", content)
content = re.sub(r"!(\w+)", r"\g<1>", content) content = re.sub(r"!(\w+)", r"\g<1>", content)
content = re.sub(r"\* ", r"\* ", content) content = re.sub(r"\* ", r"* ", content)
file.seek(0) file.seek(0)
file.truncate() file.truncate()
file.write(content) file.write(content)