fix(meta): 修复部分格式识别问题

This commit is contained in:
Miralia
2025-05-16 20:49:23 +08:00
parent 223508ae72
commit 27f0f29eef
2 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ class Tokens:
self.load_text(text)
def load_text(self, text):
splitted_text = re.split(r"\.|\s+|\(|\)|\[|]|-|\+|【|】|/||;|&|\||#|_|「|」|~", text)
splitted_text = re.split(r"\.|\s+|\(|\)|\[|]|-|【|】|/||;|&|\||#|_|「|」|~", text)
for sub_text in splitted_text:
if sub_text:
self._tokens.append(sub_text)