Removed unnecessary backslash
This commit is contained in:
parent
0d628563e6
commit
7c6f92b3c7
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user