Closes #17391 Release Notes: - Fixed parenthesis matching for file links in terminal ([#17391](https://github.com/zed-industries/zed/issues/17391))
Unified · Split
| @@ -425,7 +425,7 @@ impl TerminalBuilder { · 424 unmodified lines | ||
| 425 | 425 | // Optional suffix matches MSBuild diagnostic suffixes for path parsing in PathLikeWithPosition |
| 426 | 426 | // https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-diagnostic-format-for-tasks |
| 427 | 427 | let word_regex = |
| 428 | − RegexSearch::new(r#"[\$\+\w.\[\]:/\\@\-~]+(?:\((?:\d+|\d+,\d+)\))?"#).unwrap(); | |
| 428 | + RegexSearch::new(r#"[\$\+\w.\[\]:/\\@\-~()]+(?:\((?:\d+|\d+,\d+)\))?"#).unwrap(); | |
| 429 | 429 | |
| 430 | 430 | let terminal = Terminal { |
| 431 | 431 | task, |