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
This commit is contained in:
parent
b70beb5684
commit
c028bb4ddc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user