阅读背景:

详解Python正则表达式之: (?P…) named group 带命名的组

来源:互联网 

Python 2.7的手册中的解释:

(?P<name>...)

Similar to regular parentheses, but the substring matched by the group is accessible within the rest of the regular expression via the symbolic group name Similar




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: