📜  python string like pattern - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:17.531000             🧑  作者: Mango

代码示例1
import re
pattern = re.compile("^([A-Z][0-9]+)+$")
pattern.match(string)