Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1,3 +1,23 @@
# startswith/1 is boolean:
"abc" | startswith("ab")
#=> true
# index/1 returns the index or null,
# so the jq test "if index(_) then ...." can be used
# without any type conversion.
"abcd" | index( "bc")
#=> 1
# endswith/1 is also boolean:
"abc" | endswith("bc")
#=> true
# Using the regex functions available in jq 1.5:
"abc" | test( "^ab")
"abcd" | test("bc")
"abcd" | test("cd$")