From 325b23a109527a8ff385889e47b5ea8a102e24db Mon Sep 17 00:00:00 2001 From: JP Appel Date: Wed, 23 Jul 2025 02:15:02 -0400 Subject: Fix link parsing regex --- pkg/index/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/index/index.go b/pkg/index/index.go index 42f5051..8c21e72 100644 --- a/pkg/index/index.go +++ b/pkg/index/index.go @@ -463,5 +463,5 @@ func ParseDocs(paths []string, numWorkers uint, opts ParseOpts) (map[string]*Doc } func init() { - linkRegex = regexp.MustCompile(`\[.*\]\(\s*([^\)]+)\s*\)`) + linkRegex = regexp.MustCompile(`\[.*\]\(\s*([^\)\s]+)\s*\)`) } -- cgit v1.2.3