欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

要求在 python EN 中获取多个数字正则表达式

最编程 2024-03-28 12:11:49
...
02x01 match '02x01' fail (It should be '02' '01') 03x02a match '03x02'..............groups 'a' fail (It should be '03' '02' 'a') S03E01 match 'S03E01'.............groups '03' '01' ok S03E01a match 'S03E01a'............groups 'S03E01' 'a' fail.(It should be '03' '01' 'a') 03x02xxxx match '03X02xxxx' groups '03x02xxxx' fail (it should be just [a-e] and limit to one letter) S03E01xxx match '03E01xxxx' groups '03e01xxxx' fail (idem)

推荐阅读