mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-15 22:19:18 +00:00
Fix: Ignore "!" while matching keywords
This commit is contained in:
parent
57005e6d51
commit
1536ff0ad3
@ -6,7 +6,7 @@ from typing import ClassVar
|
||||
from module.exception import ScriptError
|
||||
import module.config.server as server
|
||||
|
||||
REGEX_PUNCTUATION = re.compile(r'[ ,.\'"“”,。·•\-—/\\\n\t()()「」『』【】]')
|
||||
REGEX_PUNCTUATION = re.compile(r'[ ,.\'"“”,。!!??·•\-—/\\\n\t()()「」『』【】]')
|
||||
|
||||
|
||||
def parse_name(n):
|
||||
|
Loading…
Reference in New Issue
Block a user