diff --git a/internal/config/v1.go b/internal/config/v1.go index 0861264..ed8885d 100644 --- a/internal/config/v1.go +++ b/internal/config/v1.go @@ -216,7 +216,10 @@ func (z *ZurgConfigV1) matchFilter(torrentName string, torrentSize int64, torren return false } if filter.HasEpisodes { - regex := regexp.MustCompile(`(?i)s\d\de\d\d`) + regex := regexp.MustCompile(`(?i)s\d{2,3}.?e\d{2,3}`) + if regex.MatchString(torrentName) { + return true + } for _, filename := range fileNames { if regex.MatchString(filename) { return true