fix: tag regex

This commit is contained in:
boojack 2022-06-19 10:58:30 +08:00
parent b96d78ed19
commit f9cb6cc339
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export const TOAST_ANIMATION_DURATION = 400;
export const DAILY_TIMESTAMP = 3600 * 24 * 1000;
// tag regex
export const TAG_REG = /#(.+?)\s/g;
export const TAG_REG = /(?<!&)#(.+?) /g;
// URL regex
export const LINK_REG = /(https?:\/\/[^\s<\\*>']+)/g;