We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69dfa89 commit 4564269Copy full SHA for 4564269
1 file changed
Drake-Z/0012/0012.py
@@ -13,8 +13,8 @@ def filter_word(a):
13
strs = '**'
14
f = open('filtered_words.txt', 'r', encoding = 'utf-8').readlines()
15
for i in f:
16
- i = i.strip()
17
- b = re.split(r'%s' % (i), a)
+ i = i.strip() #去除\n
+ b = re.split(r'%s' % (i), a) #分解字符串
18
if len(b) > 1:
19
c = i
20
sensitive = True
0 commit comments