https://bugzilla.wikimedia.org/show_bug.cgi?id=54562
Web browser: --- Bug ID: 54562 Summary: Bugfix for optional caputring group Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/patches/555/ Reported by: eranroz Created on: 2012-07-03 18:35:29 Subject: Bugfix for optional caputring group Original description: Patch for pywikibot/textlib.py for the replace function (replaceExcept) for supporting for empty/optional capturing groups. This is a bugfix for a crash that occur when using replace.py with a regex containing optional capturing group (eg AAA in this regex "bla(AAA)?bla" )