| matej_suchanek reopened this task as "Open". matej_suchanek added a comment. |
>>> import pywikibot
>>> from pywikibot import textlib
>>> text = '''{{Foo
... | bar = baz
... | xxx = yyy
... }}'''
>>> textlib.replaceExcept(text, 'baz', '', ['startspace']) != text
FalseI would say True (not equal) is expected.
TASK DETAIL
EMAIL PREFERENCES
To: matej_suchanek
Cc: matej_suchanek, Dvorapa, Legoktm, Ricordisamoa, pywikibot-bugs-list
Cc: matej_suchanek, Dvorapa, Legoktm, Ricordisamoa, pywikibot-bugs-list
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
