From: Zetaphor Date: Thu, 22 Jun 2023 18:43:01 +0000 (-0300) Subject: Remove pipe from community link regex X-Git-Url: http://these/git/readmes/%24%7B%60data:application/%7B%60%24%7BghostArchiveUrl%7D/static/git-favicon.png?a=commitdiff_plain;h=773eef5126c8381b42bf1833dc7f040ad7f20b19;p=lemmy-ui.git Remove pipe from community link regex --- diff --git a/src/shared/config.ts b/src/shared/config.ts index db7e688..c56c64b 100644 --- a/src/shared/config.ts +++ b/src/shared/config.ts @@ -33,6 +33,6 @@ export const emDash = "\u2014"; * /u/username@server.com */ export const instanceLinkRegex = - /(\/[c|m|u]\/|!)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g; + /(\/[cmu]\/|!)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g; export const testHost = "0.0.0.0:8536";