map re.sub() to string.replace(), when possible
2 files changed