Undertstanding the valueRegEx in mango
-
Hello,
I would like to understand how the "valueRegEx" to be used against a JSON string in mango.
"pointLocator":{ "dataType":"NUMERIC", "ignoreIfMissing":false, "timeFormat":"", "timeRegex":"", "valueFormat":"", "valueRegex":"\"id\":\"10001\",\"type\":\"batteryzone\".*?\"dcvoltage\":\"(.*?)\",\".*?\"currinputs\"" },
I know its gets the dcvoltage from the json string but don’t know how it terminates (I’m assuming currinputs match). I want to start from a different point in the json string.
Thanks,
Gary C