对于Python 2.5,2.6,我应该使用string.replace还是re.sub基本的文本替换?
string.replace
re.sub
在PHP中,这是明确说明的,但我找不到类似的Python注释.
python regex
python ×1
regex ×1