From 82895bbce8306ee3d910dbffed46e4eeda84492a Mon Sep 17 00:00:00 2001 From: zeppi Date: Wed, 27 Oct 2021 21:17:22 -0400 Subject: [PATCH] improve channel parsing for mentions maybe --- ui/util/remark-lbry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/util/remark-lbry.js b/ui/util/remark-lbry.js index 07d1d2a13..1350370dc 100644 --- a/ui/util/remark-lbry.js +++ b/ui/util/remark-lbry.js @@ -7,9 +7,9 @@ export const punctuationMarks = [',', '.', '!', '?', ':', ';', '-', ']', ')', '} const mentionToken = '@'; // const mentionTokenCode = 64; // @ -const mentionRegex = /@[^\s()"]*/gm; const invalidRegex = /[-_.+=?!@#$%^&*:;,{}<>\w/\\]/; +const mentionRegex = /@[^\s()"-_.+=?!@$%^&*;,{}<>/\\]*/gm; function handlePunctuation(value) { const modifierIndex =