1
0

Make slash command completion more robust

This commit is contained in:
Zef Hemel
2022-08-02 12:44:23 +02:00
parent 7111fb6b1e
commit 36004a7977
+1 -1
View File
@@ -1,7 +1,7 @@
import { AppCommand, CommandDef } from "./hooks/command";
import { FilterOption, PageMeta } from "@silverbulletmd/common/types";
export const slashCommandRegexp = /\/[\w\-]*/;
export const slashCommandRegexp = /(?<!\w)\/[\w\-]*/;
export type Notification = {
id: number;