mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
fix: hyperlink regex updated
Issue when detecting and replacing text
This commit is contained in:
parent
c34ea9c8f5
commit
5daff6b934
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue