diff --git a/public/scripts/slash-commands/SlashCommandParser.js b/public/scripts/slash-commands/SlashCommandParser.js index 66576e7f1..bb05c1589 100644 --- a/public/scripts/slash-commands/SlashCommandParser.js +++ b/public/scripts/slash-commands/SlashCommandParser.js @@ -65,7 +65,7 @@ export class SlashCommandParser { const COMMAND = { scope: 'command', - begin: /\/\w+/, + begin: /\/\S+/, beginScope: 'title.function', end: /\||$|:}/, contains: [], // defined later