回答編集履歴
1
minor change
test
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
+
tel_pattern = re.compile('[0-9]{3}-[0-9]{4}')
|
16
|
+
|
15
17
|
for str in a:
|
16
|
-
|
17
|
-
tel_pattern = re.compile('[0-9]{3}-[0-9]{4}')
|
18
18
|
|
19
19
|
if re.match(tel_pattern, str):
|
20
20
|
|