+2
This commit is contained in:
parent
8e76f087ff
commit
b0327c1ca1
2
phone.py
2
phone.py
@ -1,4 +1,4 @@
|
||||
# 手机号正则+1
|
||||
# 手机号正则+2
|
||||
import re
|
||||
phone_num = re.compile(r'\d{11}')
|
||||
print(phone_num.search('我的电话是13512345678'))
|
||||
|
Loading…
Reference in New Issue
Block a user