mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Console command accepts empty slices
This commit is contained in:
@@ -31,7 +31,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
lineR = regexp.MustCompile(`(\w+)\s*=\s*(\[.+?\]|\".+?\"|\{.+?\}|.+?)(?:\s+|$)`)
|
||||
lineR = regexp.MustCompile(`(\w+)\s*=\s*(\[.*?\]|\".*?\"|\{.*?\}|.+?)(?:\s+|$)`)
|
||||
jsonR = regexp.MustCompile(`"(\w+)":(\[.+?\]|.+?)[,|}]`)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user