正则表达式(?P<name>...)

前端之家收集整理的这篇文章主要介绍了正则表达式(?P<name>...)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

(?P…) Similar to regular parentheses,but the substring matched by the group is accessible via the symbolic group name name. Group names must be valid Python identifiers,and each group name must be defined only once within a regular expression. A symbolic group is also a numbered group,just as if the group were not named.

原文链接:https://www.f2er.com/regex/358241.html

猜你在找的正则表达式相关文章