摘要: 23、re的match和search区别? re.match()从开头开始匹配string。 re.search()从anywhere 来匹配string。 24、什么是正则的贪婪匹配 25、def func(a,b=[]) 这种写法有什么坑? 看下结果 [1] [1, 1] [1, 1, 1] [ 阅读全文
posted @ 2018-12-16 15:54 确认沉默 阅读(2567) 评论(0) 推荐(1)