pkoppstein
ad8d1a8cc8
Two sub bugs fixed; two new gsub tests have been added.
...
./jq --run-tests < tests/onig.test
has been run successfully:
...
Testing 'gsub("a";"b")' at line number 70
Testing 'gsub( "(.*)"; ""; "x")' at line number 74
...
22 of 22 tests passed (0 malformed)
2015-12-09 15:28:01 -06:00
pkoppstein
dea7868f01
spelling corrections; untabify
2015-08-11 20:54:03 -07:00
pkoppstein
16d0e528aa
walk/1
2015-08-11 20:54:03 -07:00
pkoppstein
d66fbd218b
Clarify documentation of STRING * INTEGER
2015-08-04 21:40:16 -04:00
pkoppstein
5856a2d2c0
simplify implementation of bsearch to use "until" and avoid "last"; tested
2015-07-24 12:29:20 -07:00
pkoppstein
752e00bc66
transpose/0 for possibly jagged matrices
2014-12-27 18:52:36 -06:00
pkoppstein
00f018a054
bsearch(x) (binary search): builtin.c (tested), with documentation and test case. Always yields an integer (even if input is unsorted); returns (-1 - ix) if x is not in input array.
2014-12-27 18:44:20 -06:00
pkoppstein
56344670f4
ascii_upcase/0 and ascii_downcase/0
2014-12-27 18:38:52 -06:00
pkoppstein
85f0e30c81
fix sub ( #586 ); add gsub/3; add transpose/0.
...
Signed-off-by: William Langford <wlangfor@gmail.com >
2014-10-06 21:32:07 -04:00
pkoppstein
a696c6b551
regex filters ( #432 ): scan, splits, split, sub, gsub
2014-08-08 17:00:14 -05:00
pkoppstein
f8fed0f0bc
Apply TCO to recurse/1, add recurse/2; tweak docs
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-08-04 21:11:01 -05:00
pkoppstein
53993a9942
Add capture; document regular expression filters
...
Fix #493 .
2014-07-28 19:41:21 -05:00