Problem: keywords could not contain a space
Solution: allow space in keywords
This commit is contained in:
parent
965d2c87f5
commit
8af3d22d06
2
main.go
2
main.go
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user