Make slash command completion more robust
This commit is contained in:
parent
7111fb6b1e
commit
36004a7977
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user