Skip to content

Commit 66a01d4

Browse files
Merge pull request #85 from jmespath-community/feature/list-filter-expressions-wording
Rename `list-filter-expr` to `filter-expression`
2 parents af0d21b + 74130cc commit 66a01d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GRAMMAR.ABNF

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ bracket-specifier =/ "[" "*" "]"
379379
;; search('*.foo', {"a": {"foo": 1}, "b": {"foo": 2}, "c": {"bar": 1}}) -> [1, 2]
380380
;; ```
381381

382-
list-filter-expr = "[?" expression "]" ;; # Filter Expressions \
383-
bracket-specifier =/ list-filter-expr ;; \
382+
filter-expression = "[?" expression "]" ;; # Filter Expressions \
383+
bracket-specifier =/ filter-expression ;; \
384384
comparator-expression = expression comparator expression ;; \
385385
comparator = "<" / "<=" / "==" / ">=" / ">" / "!="
386386
;; A filter expression provides a way to select JSON elements based on a comparison to another expression. A filter

0 commit comments

Comments
 (0)