http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11515
Revision: 11515 Author: xqt Date: 2013-05-09 16:56:45 +0000 (Thu, 09 May 2013) Log Message: ----------- links may contain "#"
Modified Paths: -------------- branches/rewrite/pywikibot/__init__.py
Modified: branches/rewrite/pywikibot/__init__.py =================================================================== --- branches/rewrite/pywikibot/__init__.py 2013-05-09 16:42:02 UTC (rev 11514) +++ branches/rewrite/pywikibot/__init__.py 2013-05-09 16:56:45 UTC (rev 11515) @@ -191,7 +191,7 @@ from page import html2unicode, url2unicode
-link_regex = re.compile(r'[[(?P<title>[^]|[#<>{}]*)(|.*?)?]]') +link_regex = re.compile(r'[[(?P<title>[^]|[<>{}]*)(|.*?)?]]')
def setAction(s):
pywikipedia-svn@lists.wikimedia.org