Problem: keywords could not contain a space

Solution: allow space in keywords
This commit is contained in:
Peter Stuifzand 2022-01-15 16:52:26 +01:00
parent 965d2c87f5
commit 8af3d22d06

View File

@ -741,7 +741,7 @@ func (h *graphHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { func (h *indexHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer r.Body.Close() defer r.Body.Close()
metaKV, err := regexp.Compile(`(\w+)::\s+(.*)`) metaKV, err := regexp.Compile(`(\w[ \w]+)::\s+(.*)`)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }