Fix parenthesis matching for file links in terminal (#17512)
Closes #17391 Release Notes: - Fixed parenthesis matching for file links in terminal ([#17391](https://github.com/zed-industries/zed/issues/17391))
This commit is contained in:
parent
65961b80fc
commit
63188b6754
1 changed files with 1 additions and 1 deletions
|
@ -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-tasks
|
||||
let word_regex =
|
||||
RegexSearch::new(r#"[\$\+\w.\[\]:/\\@\-~]+(?:\((?:\d+|\d+,\d+)\))?"#).unwrap();
|
||||
RegexSearch::new(r#"[\$\+\w.\[\]:/\\@\-~()]+(?:\((?:\d+|\d+,\d+)\))?"#).unwrap();
|
||||
|
||||
let terminal = Terminal {
|
||||
task,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue