From 8a9f0bed384ce67904f349e38ef4aedca79c879e Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 30 Aug 2022 01:12:37 -0400 Subject: [PATCH] Fixes issue w/ Safari & regex lookbehind --- 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 fdd1699..6634297 100644 --- a/src/terminal/linkProvider.ts +++ b/src/terminal/linkProvider.ts @@ -15,7 +15,7 @@ import type { GitTag } from '../git/models/tag'; 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; // Since negative lookbehind isn't supported in all browsers, leave out the negative lookbehind condition `(?