Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(regex): movie and tv (pack and episode) regex
The following are changes made to improve matching for TV (season pack and episode) as well as movies. All Regex's * Replaced literal space (' ') in expressions with \s MOVIE_REGEX * Added support for '_' in release name. SEASON_REGEX * Added support for '_' in release naming. * Capture multiple variations (including poorly named) of multiple season packs properly. * Fixed matching incorrectly when season has more than one digit EP_REGEX * Added more variations on multi-episode capturing **fix/update(regex): change title capture to lazy** * Modify <title> capture group to match lazily, reducing the number of step proportional to the length of the release name. **fix(regex): corrected <seasonmax> matching** * <seasonmax> previously required formatting to be S## while not all releases contain the preceding S in multi-season packs. * Removed the '_' from separator between seasons in multi season packs. If you run some test cases and find any outliers or mismatching, please comment and note what release naming you used to demonstrate.
- Loading branch information