题目内容

正则表达式模块re的()方法用来编译正则表达式对象。

A.re.search
B.re.findall
C.re.compile
D.re.match

查看答案
更多问题

正则表达式模块re的()方法用来在字符串开始处进行指定模式的匹配。

A.re.search
B.re.findall
C.re.match
D.re.compile

()能够匹配所有子串,并把它们作为一个列表返回。

A.re.search
B.re.findall
C.re.match
D.re.compile

正则表达式模块re的()方法用来在整个字符串中进行指定模式的匹配。

A.re.search
B.re.findall
C.re.match
D.re.compile

已知 g=lambda x, y=3, z=5: x+y+z,那么表达式 g(2) 的值为()。

A.3
B.5
C.8
D.10

答案查题题库