0.4.0
版本发布时间: 2017-01-14 12:56:16
BurntSushi/ripgrep最新发布版本:14.1.1(2024-09-09 10:28:54)
This is a new minor version release of ripgrep that includes a couple very minor breaking changes, a few new features and lots of bug fixes.
This version of ripgrep upgrades its regex
dependency from 0.1
to 0.2
,
which includes a few minor syntax changes:
- POSIX character classes now require double bracketing. Previously, the regex
[:upper:]
would parse as theupper
POSIX character class. Now it parses as the character class containing the characters:upper:
. The fix to this change is to use[[:upper:]]
instead. Note that variants like[[:upper:][:blank:]]
continue to work. - The character
[
must always be escaped inside a character class. - The characters
&
,-
and~
must be escaped if any one of them are repeated consecutively. For example,[&]
,[\&]
,[\&\&]
,[&-&]
are all equivalent while[&&]
is illegal. (The motivation for this and the prior change is to provide a backwards compatible path for adding character class set notation.)
Feature enhancements:
- Added or improved file type filtering for Crystal, Kotlin, Perl, PowerShell, Ruby, Swig
- FEATURE #83: Type definitions can now include other type definitions.
-
FEATURE #243:
BREAKING CHANGE: The
--column
flag now implies--line-number
. -
FEATURE #263:
Add a new
--sort-files
flag. -
FEATURE #275:
Add a new
--path-separator
flag. Useful in cygwin.
Bug fixes:
- BUG #182: Redux: use more portable ANSI color escape sequences when possible.
- BUG #258: Fix bug that caused ripgrep's parallel iterator to spin and burn CPU.
- BUG #262: Document how to install shell completion files.
- BUG #268: Make lack of backreference support more explicit.
-
BUG #271:
Remove
~
dependency on clap. -
BUG #277:
Fix cosmetic issue in
globset
crate docs. -
BUG #279:
ripgrep did not terminate when
-q/--quiet
was given. -
BUG #281:
BREAKING CHANGE: Completely remove
^C
handling from ripgrep. -
BUG #284:
Make docs for
-g/--glob
clearer. - BUG #286: When stdout is redirected to a file, don't search that file.
- BUG #287: Fix ZSH completions.
-
BUG #295:
Remove superfluous
memmap
dependency ingrep
crate. -
BUG #308:
Improve docs for
-r/--replace
. - BUG #313: Update bytecount dep to latest version.
- BUG #318: Fix invalid UTF-8 output bug in Windows consoles.
1、 ripgrep-0.4.0-i686-pc-windows-gnu.zip 3.77MB
2、 ripgrep-0.4.0-i686-pc-windows-msvc.zip 730.77KB
3、 ripgrep-0.4.0-i686-unknown-linux-musl.tar.gz 4.56MB
4、 ripgrep-0.4.0-x86_64-apple-darwin.tar.gz 1.02MB
5、 ripgrep-0.4.0-x86_64-pc-windows-gnu.zip 3.9MB
6、 ripgrep-0.4.0-x86_64-pc-windows-msvc.zip 781.98KB