News

I would expect that for vanilla strings, it works like regular Python str.replace () - using literal strings instead of regexes. Alternatively the documentation could be updated, but I think the ...
replace () in python Overview: The replace () method replaces each substring of a string that matches the given string.