fix: hyperlink regex updated

Issue when detecting and replacing text
This commit is contained in:
lnu 2022-02-06 08:45:20 +01:00 committed by Jan De Dobbeleer
parent c34ea9c8f5
commit 5daff6b934

View file

@ -11,7 +11,7 @@ var (
) )
const ( const (
LINK = `(?P<STR>\x1b]8;;(file|https)(.+)\x1b\\(?P<TEXT>.+)\x1b]8;;\x1b\\)` LINK = `(?P<STR>\x1b]8;;(.+)\x1b\\(?P<TEXT>.+)\x1b]8;;\x1b\\)`
) )
func GetCompiledRegex(pattern string) *regexp.Regexp { func GetCompiledRegex(pattern string) *regexp.Regexp {