Color support is available, in the GNU grep
-style, where it makes sense. For example, lgrep
doesn't have context lines, so the GREP_COLORS
capabilities for them are ignored. I find the default "matches are red" to be great; but the flexibility is there if you have other needs (e.g., protanopia).
The version printed by -V
now includes the commit hash it was built from. --version
prints out even more detail.
Trailing newlines are no longer included in strings being matched, which makes the $
anchor behave more reasonably. Note that anchors remain start/end of record, because that's the whole point. Normal matches, along with start and end, are all against records, so use \n
to match line separators. The log pattern always matches against lines, but it's the only one.
What's Changed
- Colors by @barneyb in #17
- use shadow-rs to assemble more interesting version strings by @barneyb in #19
- Newline handling by @barneyb in #20
Full Changelog: v1.3.0...v1.4.0