(text: string)
| 66 | const globalChatMentionRegex: RegExp = new RegExp(chatMentionRegexString, 'g'); |
| 67 | |
| 68 | function encodeChatMentionText(text: string): string { |
| 69 | return text.replace(/]/g, '\\]'); |
| 70 | } |
| 71 | |
| 72 | function decodeChatMentionText(text: string): string { |
| 73 | return text.replace(/\\]/g, ']'); |
no outgoing calls
no test coverage detected