2
0
Aiden Cline 6 сар өмнө
parent
commit
edeaab321a

+ 1 - 1
packages/opencode/src/config/markdown.ts

@@ -1,6 +1,6 @@
 export namespace ConfigMarkdown {
   export const FILE_REGEX = /(?<![\w`])@(\.?[^\s`,.]*(?:\.[^\s`,.]+)*)/g
-  export const SHELL_REGEX = /`[^`]+`/g
+  export const SHELL_REGEX = /!`([^`]+)`/g
 
   export function files(template: string) {
     return Array.from(template.matchAll(FILE_REGEX))