回答編集履歴

2

逆だ逆

2019/08/08 16:42

投稿

hayataka2049
hayataka2049

スコア30933

test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
 
30
30
 
31
- word_list = [word for word in tmp if pattern.search(word) is not None]
31
+ word_list = [word for word in tmp if pattern.search(word) is None]
32
32
 
33
33
 
34
34
 

1

半角スペースは消さないのか・・・

2019/08/08 16:42

投稿

hayataka2049
hayataka2049

スコア30933

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- pattern = r"[\s]"
27
+ pattern = r"[\n\t]"
28
28
 
29
29
 
30
30