Discuss / Python / 关于时间那块的匹配

关于时间那块的匹配

Topic source
m = re.match(r'^([01]\d|[2][0-3]):([0-5][\d]):([0-5][\d]),'12:02:59')
print(m.groups())

hosPattern = re.compile(r'^.(<html>).$')


  • 1

Reply