txlyre 23 小时之前
父节点
当前提交
420dff5452
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rand.py

+ 1 - 1
rand.py

@@ -112,7 +112,7 @@ T_NAME = re.compile(r"([abce-zа-ге-йл-яA-ZА-Я]+)")
 T_COLON = re.compile(r"(:)")
 T_DICE = re.compile(r"(d|д|к)")
 T_MINUS = re.compile(r"(-)")
-T_OP = re.compile(f"([{OPS_KEYS}])")
+T_OP = re.compile(f"({OPS_KEYS})")
 T_DIGIT = re.compile(r"(\d+)")
 T_OPEN_PAREN = re.compile(r"(\()")
 T_CLOSE_PAREN = re.compile(r"(\))")