The open source coding agent.
TypeScript
fix: bash regex (#2858)
Aiden Clineedeaab321aee
diff --git a/packages/opencode/src/config/markdown.ts b/packages/opencode/src/config/markdown.tsindex e0e5afe429e..a4dcbf5d48b 100644--- a/packages/opencode/src/config/markdown.ts+++ b/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 = /!`([^`]+)`/gexport function files(template: string) {return Array.from(template.matchAll(FILE_REGEX))