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.