浏览代码

Spelling error!

tags/v0.1^2
Ben Kurtovic 12 年前
父节点
当前提交
1ca93674e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
earwigbot/commands/dictionary.py 查看文件

@@ -113,7 +113,7 @@ class Dictionary(Command):
blocks + "\s*\{\{" + fullname + "\}\}\s*" + blocks,
blocks + "\s*\{\{" + fullname.lower() + "\}\}\s*" + blocks,
]
for regex in regex:
for regex in regexes:
if re.search(regex, section):
regex = "{0}\s*{1}\s*{0}(.*?)(?:(?:{0})|\Z)"
regex = regex.format(blocks, fullname)


正在加载...
取消
保存