github Genivia/ugrep v4.1.0
ugrep v4.1.0

latest releases: v7.0.3, v7.0.2, v7.0.1...
14 months ago

Ugrep 4.1 includes usability fixes and adds several improvements:

  • fix -Z fuzzy matching when character deletions are solely specified with a minus sign, as in -Z-NUM e.g. with -Z-1 the pattern 'abcd' should still match 'acd' with a missing character 'b' in the input (-Z worked fine, but -Z-1 did not match)
  • fix --pager when a regex syntax error occurs #285
  • update --pager to use $PAGER #286
  • update --ignore-files for compliance with git and ag gitignore rules #118
  • update -Q TUI ctrl-S and ctrl-W to jump to context group separators when context options -ABC are specified
  • update -o for GNU grep compatibility with "empty-matching" patterns
  • update POSIX [[:space:]] and \s to exclude newline \n matching. No regex pattern matches newlines, except for \n, \R and \X, \P{C} (anything not in Unicode class C), \D (anything not a digit), \H (anything not blank), and \W (anything not a word character), for the latter patterns you can/should use the more conventional character classes [^\p{C}], [^\d] [^\h] and [^\w], respectively, to not match newlines
  • improve performance: faster -c and line matching #284
  • improve performance: faster "empty-matching" pattern search #287

Ugrep was extensively tested prior to release. Updated benchmark results: https://github.com/Genivia/ugrep-benchmarks

Don't miss a new ugrep release

NewReleases is sending notifications on new releases.