Revision: 5975
Author: filnik
Date: 2008-10-15 12:17:22 +0000 (Wed, 15 Oct 2008)
Log Message:
-----------
Little bugfix in the load-regex
Modified Paths:
--------------
trunk/pywikipedia/checkimages.py
Modified: trunk/pywikipedia/checkimages.py
===================================================================
--- trunk/pywikipedia/checkimages.py 2008-10-15 08:14:30 UTC (rev 5974)
+++ trunk/pywikipedia/checkimages.py 2008-10-15 12:17:22 UTC (rev 5975)
@@ -1105,7 +1105,7 @@
load_2 = True
# I search with a regex how many user have not the talk page
# and i put them in a list (i find it more easy and secure)
- regl = r"(\"|\')(.*?)\1(?:,\s+?|\])"
+ regl = r"(\"|\')(.*?)\1(?:,|\])"
pl = re.compile(regl, re.UNICODE)
for xl in pl.finditer(raw):
word = xl.group(2).replace('\\\\', '\\')
Show replies by date