fix: update REGEX_PUNCTUATION to include the correct dash character

This commit is contained in:
2026-07-06 00:00:32 +08:00
parent 3ae8ac3c7a
commit 2616a0ebe6
+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):