From d72e304aee9abd0352e4ddaa993eae64e9233d59 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Sun, 5 Feb 2012 16:52:39 -0800 Subject: [PATCH] tagger.py: loosen mp3 regex a little bit Allow mp3 names to have any number of digits in their initial number, as long as it's at least one. Signed-off-by: Colin McCabe --- tagger.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tagger.py b/tagger.py index 88d2b0e..870da42 100755 --- a/tagger.py +++ b/tagger.py @@ -81,7 +81,7 @@ music_file_re = re.compile(".*\.mp3$") music_file_name_re = re.compile(".*/" + "(?P[^/]*)/" + - "(?P[0123456789][0123456789]) - " + + "(?P[0123456789][0123456789]*) - " + "(?P[^/]*)" + "\.[a-zA-Z0123456789]*$") -- 1.6.6.rc1.39.g9a42