mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-14 07:12:18 +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]
|
# The Film [2004]
|
||||||
r_with_year = [
|
r_with_year = [
|
||||||
re.compile("([-\w\d ]+) \[(\d{4})\]"),
|
re.compile("([-\w\d()\[\] ]+) \[(\d{4})\]$"),
|
||||||
]
|
]
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
@@ -49,7 +49,7 @@ r_with_year = [
|
|||||||
#
|
#
|
||||||
# The Film
|
# The Film
|
||||||
r_missing_year = [
|
r_missing_year = [
|
||||||
re.compile("([-\w\d ]+)"),
|
re.compile("([-\w\d ]+)$"),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Valid path names
|
# Valid path names
|
||||||
|
|||||||
Reference in New Issue
Block a user