Is it possible to parse functions with an e
(as the euler function) in it? Such as:
x*e
I get undefined variable e
with this:
var jexl = JexlBuilder().create()
var jexlEpxression = jexl.createExpression("x*e") //still works
var jexlContext = MapContext()
jexlContext.set("x",1.0)
jexlExpression.evaluate(jexlContext) // undefined variable e
Of course there could be this manual fix:
val containsE = "x*e".contains("e")
if(containsE)
jexlContext.set("e",Math.E)