From 8c524d9c30ab5efe0cba064d1f217c9a100d7e50 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 17 Jan 2013 17:34:56 -0500 Subject: [PATCH] Whoops, those patterns are supposed to be ignored. --- earwigbot/wiki/copyvios/exclusions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/wiki/copyvios/exclusions.py b/earwigbot/wiki/copyvios/exclusions.py index 227265e..a026517 100644 --- a/earwigbot/wiki/copyvios/exclusions.py +++ b/earwigbot/wiki/copyvios/exclusions.py @@ -91,7 +91,7 @@ class ExclusionsDB(object): return urls regexes = [ - r"url\s*=\s*()?(?:https?:)?(?://)?(.*)()?", + r"url\s*=\s*(?:)?(?:https?:)?(?://)?(.*)(?:)?", r"\*\s*Site:\s*(?:\[|\)?(?:https?:)?(?://)?(.*)(?:\]|\)?" ] for regex in regexes: