我编写了一段代码,将PHP的脱节转换为有效的Python [反斜杠]转义:
cleaned = stringwithslashes
cleaned = cleaned.replace('\\n', '\n')
cleaned = cleaned.replace('\\r', '\n')
cleaned = cleaned.replace('\\', '')
我如何凝结呢?
手掌心
互换的青春
潇潇雨雨
慕妹3242003
相关分类