特别 张
asked on
Python:Regular methods use problems
>>> re.match("asd,asdasd,asd(\ d)+","asd, asdasd,asd 12312312") .group(1)
'2'
I can't understand the result.
I think the result should be '1'
'2'
I can't understand the result.
I think the result should be '1'
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A solution