标签:
before = ‘{ key1: "value", key2:"value", key3:"value"}‘ re_item = re.compile(r‘(?<=[{,])\w+‘) after = re_item.sub("\"\g<0>\"", inputvalue)
python 正则表达式处理不规范json
原文地址:http://www.cnblogs.com/xccnblogs/p/5179415.html