Python re.split的困惑
PHP中文网
PHP中文网 2017-04-18 09:59:17
0
2
394
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
Ty80
  • If parentheses are not added, the returned result is the groups matched by regular expressions;

  • If parentheses are added, all groups will be returned, including unmatched groups.

The official document is very clear, I just translated it for you.

左手右手慢动作

Explanation in python3-cookbook

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template