Revision: 6100 Author: filnik Date: 2008-11-15 20:54:53 +0000 (Sat, 15 Nov 2008)
Log Message: ----------- Bugfix
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2008-11-15 13:20:36 UTC (rev 6099) +++ trunk/pywikipedia/welcome.py 2008-11-15 20:54:53 UTC (rev 6100) @@ -419,10 +419,10 @@ # and i put them in a list (i find it more easy and secure).
# XXX: That's the regex, if there are problems, take a look here. - reg = u'(<a href="' + re.escape(wsite.path()) reg += u'?title=%s(?P<user>.*?)&(?:amp;|)action=(?:edit|editredlink|edit&redlink=1)"' % re.escape(talk) - reg += u'.*?) (?P<reason>.*?) . </li>' + reg += u'.*?</span> (?P<reason>.*?) *?</li>' + p = re.compile(reg, re.UNICODE)
for x in p.finditer(raw):
pywikipedia-l@lists.wikimedia.org