python 正则表达式反向引用的问题 使用反向应用时需要用两个斜杠比如re.search('(\d).*?\1','123123' )#错误re.search('(\d).*?\\1','123123' )#正确