# -*- coding: utf-8 -*-import repattern = pile(r[\白\\\蓝\\\绿\\\黄\]{1}[A-Z]{1}[A-Z0-9]{5}
)match = pattern.match(黄A)if match:print "OK"else:print "not ok"
时间:2018-09-13 01:34:13
# -*- coding: utf-8 -*-import repattern = pile(r[\白\\\蓝\\\绿\\\黄\]{1}[A-Z]{1}[A-Z0-9]{5}
)match = pattern.match(黄A)if match:print "OK"else:print "not ok"
python正则表达式匹配字母和下划线_个英文字母 下划线或汉字的正则表达式
2019-08-09
java string 返回匹配正则的字符串的起始位置_【Python】正则表达式
2020-01-25