From 44b1a31a7652f93b5827fc643116ce26f6500685 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 1 Dec 2020 00:08:52 -0500 Subject: [PATCH] Removes negative lookbehind Because of a lack of browser support (safari) --- src/terminal/linkProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/terminal/linkProvider.ts b/src/terminal/linkProvider.ts index e8e9af2..893e971 100644 --- a/src/terminal/linkProvider.ts +++ b/src/terminal/linkProvider.ts @@ -10,7 +10,8 @@ import { Container } from '../container'; import { GitReference } from '../git/git'; const commandsRegexShared = /\b(g(?:it)?\b\s*)\b(branch|checkout|cherry-pick|fetch|grep|log|merge|pull|push|rebase|reset|revert|show|stash|status|tag)\b/gi; -const refRegexShared = /\b((?!\/)(?!\S*\/\/)(?!\S*@\{)(?!@$)(?!\S*\\)[^\000-\037\177 ~^:?*[]+(?