From 3942753a631206a8ead3944ed93aba216bb11f63 Mon Sep 17 00:00:00 2001 From: Karl Besser Date: Mon, 23 Sep 2024 12:26:51 -0400 Subject: [PATCH] Delete unnecessary comma in feat detection regex --- beets/plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/plugins.py b/beets/plugins.py index fba321f43d..299c418157 100644 --- a/beets/plugins.py +++ b/beets/plugins.py @@ -518,7 +518,7 @@ def feat_tokens(for_artist=True): feat_words = ["ft", "featuring", "feat", "feat.", "ft."] if for_artist: feat_words += ["with", "vs", "and", "con", "&"] - return r"(?<=[\s,(,\[])(?:{})(?=\s)".format( + return r"(?<=[\s(\[])(?:{})(?=\s)".format( "|".join(re.escape(x) for x in feat_words) )