fix: quickselect now matches paths with //
closes: https://github.com/wez/wezterm/issues/5763
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -80,6 +80,7 @@ As features stabilize some brief notes about them will accumulate here.
|
||||
* Render invalidation issue when closing tabs other than the last tab. Thanks
|
||||
to @Mrreadiness! #5441 #5304
|
||||
* Search mode now accepts composed input from the IME. Thanks to @kenchou! #5564
|
||||
* Quick select mode will now accept unix paths with `//` in them. #5763
|
||||
|
||||
#### Updated
|
||||
* Bundled conpty.dll and OpenConsole.exe to build 1.19.240130002.nupkg
|
||||
|
||||
@@ -27,7 +27,7 @@ const PATTERNS: [&str; 14] = [
|
||||
// markdown_url
|
||||
r"\[[^]]*\]\(([^)]+)\)",
|
||||
// url
|
||||
r"(?:https?://|git@|git://|ssh://|ftp://|file:///)\S+",
|
||||
r"(?:https?://|git@|git://|ssh://|ftp://|file://)\S+",
|
||||
// diff_a
|
||||
r"--- a/(\S+)",
|
||||
// diff_b
|
||||
@@ -35,7 +35,7 @@ const PATTERNS: [&str; 14] = [
|
||||
// docker
|
||||
r"sha256:([0-9a-f]{64})",
|
||||
// path
|
||||
r"(?:[.\w\-@~]+)?(?:/[.\w\-@]+)+",
|
||||
r"(?:[.\w\-@~]+)?(?:/+[.\w\-@]+)+",
|
||||
// color
|
||||
r"#[0-9a-fA-F]{6}",
|
||||
// uuid
|
||||
|
||||
Reference in new issue
Block a user