Browse Source

Whoops, those patterns are supposed to be ignored.

tags/v0.2
Ben Kurtovic 12 years ago
parent
commit
8c524d9c30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py View File

@@ -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:


Loading…
Cancel
Save