python 零宽断言
注意:在其他语言或者网上的一些正则工具中,分组命名的语法是(?<name>exp)或(?'name'exp) ,但在Python里,这样写会报错: Thisnamed group syntax is not supported in this regex dialect. Python 中E确的写法: (?P<name>exp)
正在找工作,欢迎发 JD 到我邮箱,坐标上海浦东新区。
注意:在其他语言或者网上的一些正则工具中,分组命名的语法是(?<name>exp)或(?'name'exp) ,但在Python里,这样写会报错: Thisnamed group syntax is not supported in this regex dialect. Python 中E确的写法: (?P<name>exp)