Skip to content

v1.4.0

Latest
Compare
Choose a tag to compare
@barneyb barneyb released this 06 Aug 03:14
68a7a79

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

Full Changelog: v1.3.0...v1.4.0