From c028bb4ddc4984fcb423571ca0b822ae58a8e066 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Sat, 4 May 2013 01:48:42 +0000 Subject: [PATCH] Make sure to catch all non-numeric characters after a # for the issue number git-svn-id: http://comictagger.googlecode.com/svn/trunk@626 6c5673fe-1810-88d6-992b-cd32ca31540c --- comictaggerlib/filenameparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictaggerlib/filenameparser.py b/comictaggerlib/filenameparser.py index 1c84e16..ffd92f1 100644 --- a/comictaggerlib/filenameparser.py +++ b/comictaggerlib/filenameparser.py @@ -135,7 +135,7 @@ class FileNameParser: # now try to look for a # followed by any characters if not found: for w in reversed(word_list): - if re.match("#\w+", w[0]): + if re.match("#\S+", w[0]): found = True break