diff --git a/internal/naming/root_inference.go b/internal/naming/root_inference.go index f383d725..f5db7672 100644 --- a/internal/naming/root_inference.go +++ b/internal/naming/root_inference.go @@ -21,7 +21,7 @@ var ( // Matches a well-formed tag ([tvdb-81189]), an unsubstituted Sonarr token // ([tvdb-{TvdbId}]), or an empty token ({imdb-}). The id part is either a // {...} placeholder or zero-or-more word chars. - inferProviderTagRe = regexp.MustCompile(`\s*[{\[](?:tmdb|tmdbid|imdb|imdbid|tvdb|tvdbid)-(?:\{[^}]*\}|[\w]*)[}\]]`) + inferProviderTagRe = regexp.MustCompile(`\s*[{\[](?:tmdb|tmdbid|imdb|imdbid|tvdb|tvdbid)-(?:\{[^}]*\}|[\w]*)[}\]]`) ) type RootAssignment struct {