From d649e3563fb66b240a9f2befc2672e95f9b6c84e Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 10 Nov 2021 14:53:42 -0500 Subject: [PATCH] Adjust channel mention regex (#269) --- 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 970879e4f..7507e273a 100644 --- a/ui/util/remark-lbry.js +++ b/ui/util/remark-lbry.js @@ -9,7 +9,7 @@ const mentionToken = '@'; // const mentionTokenCode = 64; // @ const invalidRegex = /[-_.+=?!@#$%^&*:;,{}<>\w/\\]/; -const mentionRegex = /@[^\s()"_.+=?!@$%^&*;,{}<>/\\]*/gm; +const mentionRegex = /@[^\s"=?!@$%^&*;,{}<>/\\]*/gm; function handlePunctuation(value) { const protocolIndex = value.indexOf('lbry://') === 0 ? protocol.length - 1 : 0;