[Pywikibot-commits] [Gerrit] Improve performance for replaceExcept - change (pywikibot/core)