Explorar el Código

Whoops, those patterns are supposed to be ignored.

tags/v0.2
Ben Kurtovic hace 12 años
padre
commit
8c524d9c30
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      earwigbot/wiki/copyvios/exclusions.py

+ 1
- 1
earwigbot/wiki/copyvios/exclusions.py Ver fichero

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


Cargando…
Cancelar
Guardar