diff --git a/docs/hyperlinks.md b/docs/hyperlinks.md index d04df9ed8..938de790f 100644 --- a/docs/hyperlinks.md +++ b/docs/hyperlinks.md @@ -30,7 +30,7 @@ return { -- file:// URI { - regex = "\\bfile://\\s*\\b", + regex = "\\bfile://\\S*\\b", format = "$0", }, @@ -61,4 +61,3 @@ printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n' will output the text `This is a link` that when clicked will open `http://example.com` in your browser. -