Patches item #3539859, was opened at 2012-07-03 11:35 Message generated for change (Tracker Item Submitted) made by eranroz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3539859...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eranroz (eranroz) Assigned to: Nobody/Anonymous (nobody) Summary: Bugfix for optional caputring group
Initial Comment: 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" )
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3539859...
pywikipedia-bugs@lists.wikimedia.org