mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-26 15:44:20 +00:00
## Summary Fixes Windows file-open parsing for names like `main (1).log`. `PathWithPosition::parse_str` could treat `(1)` in a normal filename as a position suffix and drop the extension/path tail. The regex is now anchored so parenthesized row/column parsing only applies at the end of the filename (with optional trailing `:` and optional range suffix). ## Testing - `cargo test -p util path_with_position_parse_` Closes #50597 Release Notes: - Fixed opening files with names like `main (1).log` on Windows. |
||
|---|---|---|
| .. | ||
| command | ||
| test | ||
| archive.rs | ||
| command.rs | ||
| fs.rs | ||
| markdown.rs | ||
| path_list.rs | ||
| paths.rs | ||
| process.rs | ||
| redact.rs | ||
| rel_path.rs | ||
| schemars.rs | ||
| serde.rs | ||
| shell.rs | ||
| shell_builder.rs | ||
| shell_env.rs | ||
| size.rs | ||
| test.rs | ||
| time.rs | ||
| util.rs | ||