We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe9719 commit bb08cd3Copy full SHA for bb08cd3
Drake-Z/0004/0004.py
@@ -9,7 +9,7 @@
9
10
def statistics(file_path):
11
f = open(file_path, 'r').read()
12
- f = re.split(r'[\s\,\;,\n]+', f)
+ f = re.findall(r'[\w\-\_\.\']+', f)
13
print(len(f))
14
return 0
15
0 commit comments