最佳答案
For Python 2.5, 2.6, should I be using string.replace
or re.sub
for basic text replacements?
In PHP, this was explicitly stated but I can't find a similar note for Python.