SIGN IN SIGN UP

Trim off surrounding `[]` when parsing terminal hover links (#2906)

Follow-up of https://github.com/zed-industries/zed/pull/2899

Terminal has to accept `[` and `]` as valid word parts, due to
`[slug].tsx` being a valid file name.
Yet, terminal has to exclude these to match paths in strings like
`[/some/path/[slug].tsx]`.

Release Notes:

- N/A
K
Kirill Bulatov committed
1c6964ee9697cef57bb2876f8e87ca94ad66f3a5
Committed by GitHub <noreply@github.com> on 8/29/2023, 7:49:33 AM