python_正则表达式
re(re.match(,)).span()(re.match(,))reline = matchobj = re.match(,line,re.M|re.I)matchobj: (),matchobj.group() (),matchobj.group() (),matchobj.group() : ()re
line = matchobj = re.match(,line,re.M|re.I)matchobj: (),matchobj.group(): ()
matchobj = re.search(,line,re.M|re.I)matchobj: (),matchobj.group(): ()re
phone = num = re.sub(,,phone)(),num
num = re.sub(,,phone)(),numredouble(matched):
value = (matched.group()) (value * )
s = (re.sub(,double,s))
页:
[1]