From 62adf7f93747a649247749fb4a60815ea3c78f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Fri, 7 Aug 2026 10:37:59 +0800 Subject: [PATCH] Pin the parenthesized members pattern to a single split point Co-Authored-By: Claude Opus 5 (1M context) --- tools/src/pop_fem_audit_tools/commands/build_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/pop_fem_audit_tools/commands/build_db.py b/tools/src/pop_fem_audit_tools/commands/build_db.py index eccb3d8..c725c19 100644 --- a/tools/src/pop_fem_audit_tools/commands/build_db.py +++ b/tools/src/pop_fem_audit_tools/commands/build_db.py @@ -247,7 +247,7 @@ class ArtistImporter: """The pattern separating a group prefix from its members in a ": " credit.""" PAREN_MEMBERS_PATTERN: re.Pattern[str] = re.compile( - r"^.+ \((?P.+)\)$") + r"^[^(]+ \((?P[^()]+)\)$") """The pattern separating a group name from its members in a " ()" credit spanning the whole credit.""" DUET_WITH_PATTERN: re.Pattern[str] = re.compile(