Revision: 4276 Author: wikipedian Date: 2007-09-13 18:23:06 +0000 (Thu, 13 Sep 2007)
Log Message: ----------- bugfix
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-09-13 18:15:18 UTC (rev 4275) +++ trunk/pywikipedia/wikipedia.py 2007-09-13 18:23:06 UTC (rev 4276) @@ -4018,7 +4018,7 @@ # A redirect starts with hash (#), followed by a keyword, then # arbitrary stuff, then a wikilink. The wikilink may contain # a label, although this is not useful. - return re.compile(r'# *' + redirKeywordsR + '.*?[[(.*?)(?:|.*?)]]', re.IGNORECASE | re.UNICODE | re.DOTALL) + return re.compile(r'# *' + redirKeywordsR + '.*?[[(.*?)(?:|.*?)?]]', re.IGNORECASE | re.UNICODE | re.DOTALL)
# The following methods are for convenience, so that you can access # methods of the Family class easier.
pywikipedia-l@lists.wikimedia.org