Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix parenthesis matching for file links in terminal (#17512)
saahityaedams63188b675427
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rsindex 224e660f5f2..bd4dfed0fa2 100644--- a/crates/terminal/src/terminal.rs+++ b/crates/terminal/src/terminal.rs@@ -425,7 +425,7 @@ impl TerminalBuilder {// Optional suffix matches MSBuild diagnostic suffixes for path parsing in PathLikeWithPosition// https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-diagnostic-format-for-taskslet word_regex =- RegexSearch::new(r#"[\$\+\w.\[\]:/\\@\-~]+(?:\((?:\d+|\d+,\d+)\))?"#).unwrap();+ RegexSearch::new(r#"[\$\+\w.\[\]:/\\@\-~()]+(?:\((?:\d+|\d+,\d+)\))?"#).unwrap();let terminal = Terminal {task,