mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-13 06:42:16 +00:00
Fixed same problem 2checkTvEps had - regexs didn't match until the end of the string (no trailing $)
This commit is contained in:
@@ -41,7 +41,7 @@ def getError(invalid,errorno):
|
||||
#
|
||||
# The Film [2004]
|
||||
r_with_year = [
|
||||
re.compile("([-\w\d ]+) \[(\d{4})\]"),
|
||||
re.compile("([-\w\d()\[\] ]+) \[(\d{4})\]$"),
|
||||
]
|
||||
|
||||
###################################
|
||||
@@ -49,7 +49,7 @@ r_with_year = [
|
||||
#
|
||||
# The Film
|
||||
r_missing_year = [
|
||||
re.compile("([-\w\d ]+)"),
|
||||
re.compile("([-\w\d ]+)$"),
|
||||
]
|
||||
|
||||
# Valid path names
|
||||
|
||||
Reference in New Issue
Block a user