浏览代码

Remove references to haiku

master
Thomas Mannay GitHub 6 年前
父节点
当前提交
ccff7d408c
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      seddy.py

+ 2
- 2
seddy.py 查看文件

@@ -70,13 +70,13 @@ def seddy(sed, history, parser):
regex = parser.split(sed)

if len(regex) < 4:
return choice(haiku)
return False
if 'i' in regex[3]:
f |= re.I
try:
msg = history.find(regex[1], f)
except:
return choice(haiku)
return False
if "g" in regex[3]:
res = msg_replace(regex[1], regex[2], msg, 0, f)
else:


正在加载...
取消
保存