jmespath.rb icon indicating copy to clipboard operation
jmespath.rb copied to clipboard

Support arithmetic expressions

Open doits opened this issue 2 months ago • 1 comments

Thanks for this great library!

I just noticed the following:

JMESPath.search('`2` * `2`', '')
# => unexpected token star (JMESPath::Errors::SyntaxError)

I guess arithmetic expressions are not supported by this gem?

If so, maybe they could be added?

doits avatar Oct 25 '25 11:10 doits

Ah, sorry, now I see this is a "community extension". I guess this comes down the to support the "JMESPath Community specifications".

doits avatar Oct 25 '25 13:10 doits