[Pywikipedia-bugs] [Maniphest] [Commented On] T57191: Wrong startspace match in textlib.replaceExcept

2018-05-18 Thread Dvorapa
Dvorapa added a comment. In T57191#3340634, @matej_suchanek wrote: >>> import pywikibot >>> from pywikibot import textlib >>> text = '''{{Foo ... | bar = baz ... | xxx = yyy ... }}''' >>> textlib.replaceExcept(text, 'baz', '', ['startspace']) != text False I would say True (not equal) is

[Pywikipedia-bugs] [Maniphest] [Commented On] T57191: Wrong startspace match in textlib.replaceExcept

2017-06-11 Thread Dvorapa
Dvorapa added a comment. Is this still a bug? I've never seen behavior like thisTASK DETAILhttps://phabricator.wikimedia.org/T57191EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, Legoktm, Ricordisamoa,