re函数split各种情况
文章目录前言一般情况限制切割次数结果出现”pattern使用括号pattern使用多重括号patter同时用 () 和 | 会出现None排除空值的写法 前言 Python版本:3.7.4 split(pattern, string, maxsplit=0, flags=0) 原文 Split the source string by the occurrences of the pattern, returning a list containing the resulting substrings. If capturing parentheses are used in patter
下载地址
用户评论