Revision: 7561 Author: xqt Date: 2009-10-29 09:10:59 +0000 (Thu, 29 Oct 2009)
Log Message: ----------- some other list types
Modified Paths: -------------- trunk/pywikipedia/cosmetic_changes.py
Modified: trunk/pywikipedia/cosmetic_changes.py =================================================================== --- trunk/pywikipedia/cosmetic_changes.py 2009-10-29 08:53:34 UTC (rev 7560) +++ trunk/pywikipedia/cosmetic_changes.py 2009-10-29 09:10:59 UTC (rev 7561) @@ -416,7 +416,7 @@ If there are any complaints, please file a bug report. """ if not self.redirect: - text = pywikibot.replaceExcept(text, r'(?m)^(?P<bullet>(*+|#+)[:;]*)(?P<char>[^\s*#:;].+?)', '\g<bullet> \g<char>', ['comment', 'math', 'nowiki', 'pre']) + text = pywikibot.replaceExcept(text, r'(?m)^(?P<bullet>[:;]*(*+|#+)[:;*#]*)(?P<char>[^\s*#:;].+?)', '\g<bullet> \g<char>', ['comment', 'math', 'nowiki', 'pre']) return text
#from fixes.py
pywikipedia-svn@lists.wikimedia.org