From bfdb02dbeca63d3caa30e93ec1595f2274929ab6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 19 Sep 2013 11:46:14 +0200 Subject: [PATCH] Make episode-number pattern detection case-insensitive. --- src/main/java/net/pterodactylus/rhynodge/filters/EpisodeFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/EpisodeFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/EpisodeFilter.java index f206dc3..06e88e1 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/EpisodeFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/EpisodeFilter.java @@ -43,7 +43,7 @@ import net.pterodactylus.rhynodge.states.TorrentState.TorrentFile; public class EpisodeFilter implements Filter { /** The pattern to parse episode information from the filename. */ - private static final Collection episodePatterns = asList(Pattern.compile("S(\\d{2})E(\\d{2})"), Pattern.compile("[^\\d](\\d{1,2})x(\\d{2})[^\\d]")); + private static final Collection episodePatterns = asList(Pattern.compile("[Ss](\\d{2})[Ee](\\d{2})"), Pattern.compile("[^\\d](\\d{1,2})x(\\d{2})[^\\d]")); // // FILTER METHODS -- 2.7.4