目录1. re.findall()2. re.sub()1. re.findall() re.findall():函数返回包含所有匹配项的列表。返回string中所有与pattern相匹配的全部字串,返回形式为list / 数组。
Code with iterators looks pretty muc开发者_StackOverflow社区h like code with pointers. Iterators are of some obscure type (like std::vector<int>::iterator for example).