Skip to content

Releases: sagebind/retest

0.2.3: Handle terminal errors

04 May 03:51
Compare
Choose a tag to compare

Fixed

  • Handle errors more gracefully when opening the terminal for writing colors fails. (discovered in #3)

v0.2.2

14 Nov 20:54
Compare
Choose a tag to compare

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

04 May 03:49
Compare
Choose a tag to compare

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

30 Jul 23:17
Compare
Choose a tag to compare

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

29 Jul 18:04
Compare
Choose a tag to compare

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

29 Jul 18:02
Compare
Choose a tag to compare

First working version. Supports input as an argument and from stdin, and highlights submatches in each match.