feat: tidal embeds

This commit is contained in:
2023-01-19 19:51:36 +00:00
parent b583ea5ff0
commit 727bb07f18
4 changed files with 50 additions and 2 deletions

View File

@ -84,3 +84,8 @@ export const TweetUrlRegex = /https?:\/\/twitter\.com\/(?:#!\/)?(\w+)\/status(?:
* Hashtag regex
*/
export const HashtagRegex = /(#[^\s!@#$%^&*()=+.\/,\[{\]};:'"?><]+)/;
/**
* Tidal share link regex
*/
export const TidalRegex = /tidal\.com\/browse\/(\w+)\/([a-z0-9-]+)/i;