标签:indall

【Python 3.6.1】正则表达式:findall & compile

xixuefeng Python 2017-07-20 1,090 次浏览 , ,
一、findall:搜索string,以列表形式返回匹配字符串 [crayon-66060cf0b4947421067666/] 解析:findall查找“Ger”的字符串。 r""作用:告诉编译器这个string是个raw string,不要转义“\”,例如:\n在raw string就表示两个字符,...
回顶部