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