Releases: sagebind/retest
0.2.3: Handle terminal errors
v0.2.2
New feature release! Command flag -f
was added to directly read a subject from a file.
A prebuilt Linux binary is attached, as well a Debian installer package (64-bit). If you encounter any bugs or problems, please create an issue on GitHub.
More efficient highlighting
Highlighting submatches is now much more efficient, thanks to a much faster algorithm for calculating capture group nesting. The new algorithm uses a string cursor and a single stack instead of iterating over everything multiple times.
New features and better error handling
This release greatly improves how errors are handled. Namely, better error messages are printed to output if there's a problem and the program exits with a non-zero exit code.
The -o
option was removed in favor of a -l
/ --list
option, which prints out the matches in a much better formatted list that includes the character range the match was found in.
Feature update
Retest now supports printing out just the matches found without printing out the entire subject. Enable this feature with the --matches-only
(or -o
) flag.
First release
First working version. Supports input as an argument and from stdin, and highlights submatches in each match.