Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 741bac4

Browse files
committed
Music organizer: Ignore ';'
1 parent c04709c commit 741bac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python2.7/music-organizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def toNeat(s):
6565
s = s.lower().replace("&", "and")
6666

6767
# Put spaces between and remove blank characters.
68-
blankCharsPad = r"()\[\],.\\\?\#/\!\$\:"
68+
blankCharsPad = r"()\[\],.\\\?\#/\!\$\:\;"
6969
blankCharsNoPad = r"'\""
7070
s = re.sub(r"([" + blankCharsPad + r"])([^ ])", "\\1 \\2", s)
7171
s = re.sub("[" + blankCharsPad + blankCharsNoPad + "]", "", s)

0 commit comments

Comments
 (0)