浏览代码

Whoops, those patterns are supposed to be ignored.

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

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py 查看文件

@@ -91,7 +91,7 @@ class ExclusionsDB(object):
return urls

regexes = [
r"url\s*=\s*(<nowiki>)?(?:https?:)?(?://)?(.*)(</nowiki>)?",
r"url\s*=\s*(?:<nowiki>)?(?:https?:)?(?://)?(.*)(?:</nowiki>)?",
r"\*\s*Site:\s*(?:\[|\<nowiki\>)?(?:https?:)?(?://)?(.*)(?:\]|\</nowiki\>)?"
]
for regex in regexes:


正在加载...
取消
保存