func ExtractEpisodeInformation(entry string) map[string]string { for _, pattern := range Patterns { groups, matched := util.NamedCaptureGroups(pattern, entry) if matched { return groups } } return nil }
func IsInterestingDirEntry(entry string) bool { for _, pattern := range Patterns { _, matched := util.NamedCaptureGroups(pattern, entry) if matched { return true } } return false }