We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aa6242 commit 1127060Copy full SHA for 1127060
1 file changed
python2.7/music-organizer.py
@@ -8,7 +8,7 @@
8
9
emptyChars = re.compile(r"[(),.'\\\?\#]")
10
def toNeat(s):
11
- s = s.lower().replace(" ", "-").replace("&", "and")
+ s = s.lower().replace(" ","-").replace("&","and").replace("*","-")
12
s = emptyChars.sub("", s)
13
search = re.search("[^0-9a-z\-]", s)
14
if search:
0 commit comments