diff options
Diffstat (limited to 'pkg/index/index.go')
| -rw-r--r-- | pkg/index/index.go | 2 |
1 files changed, 1 insertions, 1 deletions
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*\)`) } |
