We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1682a1 commit 421b2d7Copy full SHA for 421b2d7
1 file changed
python2.7/music-organizer.py
@@ -17,7 +17,7 @@
17
def toNeat(s):
18
s = s.lower()
19
for r in replaceChars: s = s.replace(r[0], r[1])
20
- search = re.search("[^a-z\-]", s)
+ search = re.search("[^0-9a-z\-]", s)
21
if search:
22
print("Error: Unrecognized character in '" + s + "'")
23
sys.exit(-42)
0 commit comments