2018-09-17 9:03 GMT+02:00 Bináris wikiposta@gmail.com:
We enhance textlib.py so that replaceExcept() will have a new parameter. This will make replaceExcept() to use a search rather than a replace. *This is the good solution.* In this case the function could return a dummy text which differs from original, so that we don't have to rewrite the scripts which use it.
Also, if we have multiple (old, new) pairs in a fix, with this switch replaceExcept() can return for the first match, thus the page will be listed. This will accelerate it again.