mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
do not include > in URL
This commit is contained in:
parent
5bef5b803b
commit
810a9cae41
@ -6,7 +6,7 @@ const EXCLUDE_PATTERNS: [(&'static str, &'static str); 1] = [("bash", r"[[:cntrl
|
|||||||
|
|
||||||
const PATTERNS: [(&'static str, &'static str); 14] = [
|
const PATTERNS: [(&'static str, &'static str); 14] = [
|
||||||
("markdown_url", r"\[[^]]*\]\(([^)]+)\)"),
|
("markdown_url", r"\[[^]]*\]\(([^)]+)\)"),
|
||||||
("url", r"((https?://|git@|git://|ssh://|ftp://|file:///)[^ )]+)"),
|
("url", r"((https?://|git@|git://|ssh://|ftp://|file:///)[^ )>]+)"),
|
||||||
("diff_a", r"--- a/([^ ]+)"),
|
("diff_a", r"--- a/([^ ]+)"),
|
||||||
("diff_b", r"\+\+\+ b/([^ ]+)"),
|
("diff_b", r"\+\+\+ b/([^ ]+)"),
|
||||||
("docker", r"sha256:([0-9a-f]{64})"),
|
("docker", r"sha256:([0-9a-f]{64})"),
|
||||||
|
Loading…
Reference in New Issue
Block a user