# Add support for the \`"\.\.\."\` entry in \`terminal.path_hyperlink_regexes\` \(\#64552\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/63b29c2edd8ddcd63bad760dcae3b91cb2161d45)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 63b29c2edd8ddcd63bad760dcae3b91cb2161d45

Requested commit: 63b29c2edd8ddcd63bad760dcae3b91cb2161d45

Commit: 63b29c2edd8ddcd63bad760dcae3b91cb2161d45

Tree: 23246899d4855bfc5b915b8124a5d8ea9a390749

Author: Dom Porada

Committer: GitHub

## Message

```
Add support for the `"..."` entry in `terminal.path_hyperlink_regexes` (#64552)

## Objective

Allow custom terminal path regexes to extend inherited entries without
copying them. This PR also corrects the existing mismatch between the
documented and shipped default regexes.

This is the last submission in the #64399 series, following #62769,
#64222, #64440, #64484, and #64540.

## Solution

The `"..."` entry is intentionally supported at the top level only. A
`"..."` line inside a multiline entry remains regex text. Existing
configurations that use bare `...` as a three-character regex can
preserve that behavior by writing `["..."]` as an entry instead.

The shipped regexes and hyperlink matching behavior are unchanged.

## Testing

All focused tests and all hyperlink tests pass on macOS. The documented
default expressions were checked against the shipped values.

## Self-Review Checklist:

- [x] I’ve reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed’s UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- Added support for `"..."` in `terminal.path_hyperlink_regexes` to
extend inherited regexes without repeating them.
```

## Parents

- [dc0bbb2b43d8a40fe0bd4664770cc4af4f907e9f](https://git.cafe/gitcafe/zed/commit/dc0bbb2b43d8a40fe0bd4664770cc4af4f907e9f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/63b29c2edd8ddcd63bad760dcae3b91cb2161d45?format=markdown)
