看到扩展阅读的如何优雅的使用正则表达式(4),最后关于反向引用的例子不是很懂
>>> p = re.compile(r'(\b\w+)\s+\1')
>>> p.search('Paris in the the spring').group()
这个'\1' 是>>> p = re.compile('(a(b)c)d')
>>> m = p.match('abcd')
>>> m.group(0)
'abcd'
>>> m.group(1)
'abc'
>>> m.group(2)
'b'
中的子组为1的组不应该是‘abc’吗为什么匹配出来是两个the