http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9323
Revision: 9323 Author: xqt Date: 2011-06-30 12:40:56 +0000 (Thu, 30 Jun 2011) Log Message: ----------- doc for replaceExcept() method changed. param old may also be a uncompiled regex. (bug reported by Bin?\195?\161ris)
Modified Paths: -------------- branches/rewrite/pywikibot/textlib.py trunk/pywikipedia/pywikibot/textlib.py
Modified: branches/rewrite/pywikibot/textlib.py =================================================================== --- branches/rewrite/pywikibot/textlib.py 2011-06-29 06:12:06 UTC (rev 9322) +++ branches/rewrite/pywikibot/textlib.py 2011-06-30 12:40:56 UTC (rev 9323) @@ -43,7 +43,7 @@
Parameters: text - a unicode string - old - a compiled regular expression + old - a compiled or uncompiled regular expression new - a unicode string (which can contain regular expression references), or a function which takes a match object as parameter. See parameter repl of
Modified: trunk/pywikipedia/pywikibot/textlib.py =================================================================== --- trunk/pywikipedia/pywikibot/textlib.py 2011-06-29 06:12:06 UTC (rev 9322) +++ trunk/pywikipedia/pywikibot/textlib.py 2011-06-30 12:40:56 UTC (rev 9323) @@ -42,7 +42,7 @@
Parameters: text - a unicode string - old - a compiled regular expression + old - a compiled od uncompiled regular expression new - a unicode string (which can contain regular expression references), or a function which takes a match object as parameter. See parameter repl of