标签:compile

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

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