From e79416bec34bcbc82396b66c1a05f14bfa0950f6 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sat, 21 Jan 2023 10:49:00 +0000 Subject: [PATCH] bug: tidal regex --- src/Const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Const.ts b/src/Const.ts index 1464459c..26103cbb 100644 --- a/src/Const.ts +++ b/src/Const.ts @@ -88,4 +88,4 @@ export const HashtagRegex = /(#[^\s!@#$%^&*()=+.\/,\[{\]};:'"?><]+)/; /** * Tidal share link regex */ -export const TidalRegex = /tidal\.com\/browse\/(\w+)\/([a-z0-9-]+)/i; \ No newline at end of file +export const TidalRegex = /tidal\.com\/(?:browse\/)?(\w+)\/([a-z0-9-]+)/i; \ No newline at end of file