1
0
Fork 0

Headlines now show everything in the right size

This commit is contained in:
Thomas Schmidts 2014-11-03 15:38:56 +01:00
parent c3a5b9a92d
commit 2a4ec531a4
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def replaceCode(pathOfFile):
lines = lines.replace("@RESTPARAMETERS","") lines = lines.replace("@RESTPARAMETERS","")
lines = lines.replace("@RESTPARAMS","") lines = lines.replace("@RESTPARAMS","")
# Error codes replace # Error codes replace
lines = re.sub(r"(##)#+", r"", lines) # lines = re.sub(r"(##)#+", r"", lines)
# lines = re.sub(r"- (\w+):\s*@LIT{(.+)}", r"\n*\g<1>* - **\g<2>**:", lines) # lines = re.sub(r"- (\w+):\s*@LIT{(.+)}", r"\n*\g<1>* - **\g<2>**:", lines)
lines = re.sub(r"(.+),(\d+),\"(.+)\",\"(.+)\"", r"\n*\g<2>* - **\g<3>**: \g<4>", lines) lines = re.sub(r"(.+),(\d+),\"(.+)\",\"(.+)\"", r"\n*\g<2>* - **\g<3>**: \g<4>", lines)
f.write(lines) f.write(lines)