Created
April 26, 2020 08:55
-
-
Save lyhapple/0c670aa17432f41904751ebc1cf30090 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# python | |
# 企业名称正则:只允许汉字,数字,字母 | |
re.match(u'^[a-zA-Z0-9\u4e00-\u9fa5]{4,50}$', u'0Aa_测试').group() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment