Fix python coc warning (#19895)

This commit is contained in:
s-hadinger 2023-11-01 12:09:10 +01:00 committed by GitHub
parent 0cd1ae965c
commit 86e777eaad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class coc_parser:
return r[0]
def parse_object(self):
self.text = re.sub("\s+//.*?$", "", self.text, flags=re.MULTILINE) # remove trailing comments
self.text = re.sub(r"\s+//.*?$", "", self.text, flags=re.MULTILINE) # remove trailing comments
while True:
obj = self.parse_block()
self.objects.append(obj)