From b81be6a2a0dae351032da124ea2f88d93fe0dddc Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 26 Nov 2010 14:13:40 +0000 Subject: [PATCH] * allow 4-digit season number (e.g. 2009, 2010, ...) --- .../sourceforge/filebot/similarity/SeasonEpisodeMatcher.java | 4 ++-- .../filebot/similarity/SeasonEpisodeMatcherTest.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/net/sourceforge/filebot/similarity/SeasonEpisodeMatcher.java b/source/net/sourceforge/filebot/similarity/SeasonEpisodeMatcher.java index 62098f6d..9e07ab43 100644 --- a/source/net/sourceforge/filebot/similarity/SeasonEpisodeMatcher.java +++ b/source/net/sourceforge/filebot/similarity/SeasonEpisodeMatcher.java @@ -20,8 +20,8 @@ public class SeasonEpisodeMatcher { public SeasonEpisodeMatcher() { patterns = new SeasonEpisodePattern[3]; - // match patterns like S01E01, s01e02, ... [s01]_[e02], s01.e02, s01e02a, ... - patterns[0] = new SeasonEpisodePattern("(?