diff --git a/packages/web/types.ts b/packages/web/types.ts index 94035d0..f9f70a2 100644 --- a/packages/web/types.ts +++ b/packages/web/types.ts @@ -1,7 +1,7 @@ import { AppCommand, CommandDef } from "./hooks/command"; import { FilterOption, PageMeta } from "@silverbulletmd/common/types"; -export const slashCommandRegexp = /\/[\w\-]*/; +export const slashCommandRegexp = /(?