I am trying to use the REGEX transform in a rule and instead of returning the match group is is returning the entire input string:
val newValue = transform(“REGEX”, “.=(\d.\d*).*”, “temp=1.2”)
if(db) logInfo(“EX_FoxnovaStrip”, “newValue = {}”, newValue
Prints
newValue = temp=1.2
Why doesn’t this return 1.2?