fix: update punctuation regex to include ellipsis

This commit is contained in:
2026-07-05 18:01:38 +08:00
parent 64bb8e3a12
commit 24e9bde5c7
+1 -1
View File
@@ -7,7 +7,7 @@ import module.config.server as server
from module.exception import ScriptError
# ord('.') = 65294
REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。::;;!!??·•\-—-/\\\n\t()\[\]()「」『』【】《》[]]')
REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。…::;;!!??·•\-—-/\\\n\t()\[\]()「」『』【】《》[]]')
def parse_name(n):