Allow space in cgrconsole for string

This commit is contained in:
Trial97
2018-09-27 15:45:59 +03:00
committed by Dan Christian Bogos
parent 67acc3916c
commit 66ff798faf

View File

@@ -31,7 +31,7 @@ import (
)
var (
lineR = regexp.MustCompile(`(\w+)\s*=\s*(\[.+?\]|.+?)(?:\s+|$)`)
lineR = regexp.MustCompile(`(\w+)\s*=\s*(\[.+?\]|\".+?\"|.+?)(?:\s+|$)`)
jsonR = regexp.MustCompile(`"(\w+)":(\[.+?\]|.+?)[,|}]`)
)