diff --git a/web/src/helpers/consts.ts b/web/src/helpers/consts.ts index 4e6a51875..2fa1f47a3 100644 --- a/web/src/helpers/consts.ts +++ b/web/src/helpers/consts.ts @@ -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;