Revision: 5864 Author: russblau Date: 2008-08-29 15:58:18 +0000 (Fri, 29 Aug 2008)
Log Message: ----------- regex bug ('.' matches ANY character)
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2008-08-28 20:34:46 UTC (rev 5863) +++ trunk/pywikipedia/wikipedia.py 2008-08-29 15:58:18 UTC (rev 5864) @@ -228,7 +228,7 @@ Rwatchlist = re.compile(r"<input tabindex='[\d]+' type='checkbox' " r"name='wpWatchthis' checked='checked'") Rlink = re.compile(r'[[(?P<title>[^]|[]*)(|[^]]*)?]]') -resectiondecodeescapes = re.compile(r".(?=[0-9a-f]{2})",re.I) +resectiondecodeescapes = re.compile(r".(?=[0-9a-f]{2})",re.I) resectiondecodeleadingnonalpha = re.compile(r'^x(?=[^a-zA-Z])')
pywikipedia-l@lists.wikimedia.org