Allow `zed filename.rs:` (#38677)

iTerm's editor configuration dialog allows you to set your editor to
`zed \1:\2`, but not (as far as I know) to leave off the : when there's
no line number

This fixes clicking on bare filenames in iTerm for me.

Release Notes:

- Fixed line number parsing so that `zed filename.rs:` will now act as
though you did `zed filename.rs`
e9fbcf5abfConrad Irwin committed on 9/22/2025, 10:26:47 PM· committed by GitHubparentc9e3b32
1 file changedLine totals unavailable