This commit is contained in:
Wbucket
2026-11-06 23:04:10 +08:00
parent 8ce5aa8847
commit 5e3643a237
+1
View File
@@ -9,6 +9,7 @@ class Pattern:
_MIN_SEC = 10 _MIN_SEC = 10
# 定义最大与最小的范围,固定输入的规范 # 定义最大与最小的范围,固定输入的规范
def __init__(self,o_str:str) -> None: def __init__(self,o_str:str) -> None:
logger.debug(f"模板消息:{o_str}")
res = self.extract(o_str) res = self.extract(o_str)
self.count:int|None = res['second'] self.count:int|None = res['second']
self.string:str = res["content"] self.string:str = res["content"]