Releases
v0.3.0
Compare
Sorry, something went wrong.
No results found
Added
& filter which splits value using a separator and outputs N-th column.
-q, --quote flag to automatically wrap output of every pattern expression in quotes.
-l, --read-end flag to require the last input value to be properly terminated.
-I, --no-stdin flag to disable reading values from standard input.
Changed
% is the default pattern escape character instead of #.
n filter (substring) was renamed to #.
N filter (substring with backward indexing) was replaced by use of # with negative indexing (e.g., #-2).
Parsing of A+L range can no longer fail with overflow error. Such range would be now resolved as A- (from A to end).
Capture groups of a global regex need to be prefixed with $ (e.g., {$1} instead of {1}).
More lenient number parsing that ignore multiple leading zeros (e.g., 001 is interpreted as 1).
Output of --explain flag and error output have escaped non-printable and other special characters (newline, tab, etc.).
Output of --help-pattern includes list of escape sequences.
Output of --help-filters flag has more readable layout.
-T, --no-trailing-delimiter flag was renamed to -L, --no-print-end.
-s, --fail-at-end flag was renamed to -F, --fail-at-end.
-b, -diff flag was renamed to -d, --diff flag.
Fixed
A+L range is correctly evaluated as "from A to A+L" (not A+L+1 as previously).
-h, --help flag displays correct position of -- argument in usage.
You can’t perform that action at this time.