From 3ee73d2f77d378f2b4a43618d4c8a424c57353a5 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 22 Feb 2026 03:41:54 +0100 Subject: [PATCH] Fixed tags with parentheses not getting matched. --- src/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tags.js b/src/tags.js index e930a598..5abccc0e 100755 --- a/src/tags.js +++ b/src/tags.js @@ -76,7 +76,7 @@ function withRelations(queryBuilder, withMedia) { async function matchReleaseTags(releases) { const tags = releases .map((release) => release.tags).flat() - .map((tag) => tag?.trim().match(/[a-z0-9]+/ig)?.join(' ').toLowerCase()) + .map((tag) => tag?.trim().match(/[a-z0-9()]+/ig)?.join(' ').toLowerCase()) .filter(Boolean); const tagEntries = await knex('tags')