fix: support hashtags in any language
This commit is contained in:
@ -66,4 +66,4 @@ export const YoutubeUrlRegex = /^(?:https?:\/\/)?(?:www|m\.)?(?:youtu\.be\/|yout
|
|||||||
/**
|
/**
|
||||||
* Hashtag regex
|
* Hashtag regex
|
||||||
*/
|
*/
|
||||||
export const HashtagRegex = /(#[a-z\d-]+)/ig
|
export const HashtagRegex = /(#[^\s!@#$%^&*()=+.\/,\[{\]};:'"?><]+)/
|
||||||
|
Reference in New Issue
Block a user