Pin the parenthesized members pattern to a single split point

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
imacatandClaude Opus 5 committed 2026-08-17 22:38:38 +08:00
1 parent 35d8e08871
commit 62adf7f937
1 file changed
+1 -1
@@ -247,7 +247,7 @@ class ArtistImporter:
"""The pattern separating a group prefix from its members in a
"<group>: <members>" credit."""
PAREN_MEMBERS_PATTERN: re.Pattern[str] = re.compile(
r"^.+ \((?P<members>.+)\)$")
r"^[^(]+ \((?P<members>[^()]+)\)$")
"""The pattern separating a group name from its members in a
"<group> (<members>)" credit spanning the whole credit."""
DUET_WITH_PATTERN: re.Pattern[str] = re.compile(