jmespath-community / jmespath.spec

JMESPath Specification
6 stars 3 forks source link

find_first: fixed incorrect default value for end param #116

Closed springcomp closed 1 year ago

springcomp commented 1 year ago

This PR update the definition for the find_first() function.

By default, if $end parameter is not specified, it now defaults to length($subject) instead of length($subject) - 1.