From e9d9ab9d4b24ac1dd23b5f249f02d66ecebc663e Mon Sep 17 00:00:00 2001 From: hanko Date: Fri, 12 Jul 2024 16:00:39 +0800 Subject: [PATCH] +3 --- phone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phone.py b/phone.py index e501d75..cc84cf1 100644 --- a/phone.py +++ b/phone.py @@ -1,4 +1,4 @@ -# 手机号正则+2 +# 手机号正则+3 import re phone_num = re.compile(r'\d{11}') print(phone_num.search('我的电话是13512345678'))