Hyphen in the Episode/ID Regexp (Reopening #2865)
tunaflsh opened this issue · comments
tunaflsh commented
Expected behaviour:
As an example from the documentation for regexps
ep_regexp: (\d\d)-(\d\d\d)
should correctly identify season number and episode number.
Actual behaviour:
It does not identify the season/episode and reports but cannot find a(n) `ep` style identifier.
Proposed solution:
This has already been discussed in #2865 but the conversation quickly derailed to adjacent topics. Although there are workarounds, I think this issue is still valid.
Either fix the documentation or replace the regex [\W_]+
with (?:[^\w-]|_)+
in:
Flexget/flexget/utils/parsers/series.py
Line 324 in 07b56d6