質問編集履歴

1

misu

2020/09/30 03:55

投稿

yochun02
yochun02

スコア76

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  pattern = r'(.*)/|.+'
28
28
 
29
- norm_url = re.match(pattern, target_url).group(1) # https://example.co
29
+ norm_url = re.match(pattern, url).group(1) # https://example.co
30
30
 
31
31
 
32
32