📅  最后修改于: 2022-03-11 14:57:17.360000             🧑  作者: Mango
代码示例1
>>> import re
>>> exp = re.compile('(\d+)/(\d+)')
>>> foo = re.match(exp,'1234/5678')
>>> foo.groups()
('1234', '5678')