Allow in console to put space insides {}

This commit is contained in:
Trial97
2018-09-27 15:59:10 +03:00
committed by Dan Christian Bogos
parent 9c7aeb78d6
commit 76dcc178ba

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+)":(\[.+?\]|.+?)[,|}]`)
)