python 正则咋写呀"text": ["回","来"] 变成 "text": "回来"
收起
import re s = '"text": ["回","来"]' a = re.sub(r'\["(.*)","(.*)"\]',r'"\1\2"',s) print(a)
报告相同问题?