🐛 Fix the issue of regular expression not matching uppercase characters

This commit is contained in:
洛水居室 2023-03-17 09:19:11 +08:00
parent 51c01268fa
commit ff84757ed3
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -31,7 +31,7 @@ except ImportError:
TZ = timezone("Asia/Shanghai")
cmd_pattern = r"^/abyss\s*((?:\d+)|(?:all))?\s*(pre)?"
cmd_pattern = r"(?i)^/abyss\s*((?:\d+)|(?:all))?\s*(pre)?"
msg_pattern = r"^深渊数据((?:查询)|(?:总览))(上期)?\D?(\d*)?.*?$"
regex_01 = r"['\"]icon['\"]:\s*['\"](.*?)['\"]"