If you have a macro that is expecting one param like $__singleParamMacro and you nest a function in that macro like $__singleParamMacro(nestedFunc("foo","bar")) it will split on the comma resulting in two params nestedFunc("foo" and "bar")
We need an RE that does not find commas in nested () and [].
This is coming from https://github.com/grafana/clickhouse-datasource/issues/454
If you have a macro that is expecting one param like
$__singleParamMacro
and you nest a function in that macro like$__singleParamMacro(nestedFunc("foo","bar"))
it will split on the comma resulting in two paramsnestedFunc("foo"
and"bar")
We need an RE that does not find commas in nested
()
and[]
.