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
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,