mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Merge pull request #482 from mbruggmann/manual-fixes
Fix manual example for `endswith`.
This commit is contained in:
@@ -1161,7 +1161,7 @@ sections:
|
|||||||
examples:
|
examples:
|
||||||
- program: '[.[]|endswith("foo")]'
|
- program: '[.[]|endswith("foo")]'
|
||||||
input: '["foobar", "barfoo"]'
|
input: '["foobar", "barfoo"]'
|
||||||
output: ['[false, true, true, false, false]']
|
output: ['[false, true]']
|
||||||
|
|
||||||
- title: "`match(val)`, `match(regex; modifiers)`"
|
- title: "`match(val)`, `match(regex; modifiers)`"
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
Reference in New Issue
Block a user