fix: update REGEX_PUNCTUATION to include the pipe character

This commit is contained in:
2026-07-06 22:40:26 +08:00
parent 090a141307
commit 622f2a467d
+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):