Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon

Ripgrep 0.10.0 released with PCRE2 and multi-line search support

Save for later
  • 2 min read
  • 10 Sep 2018

article-image

The Ripgrep team released a minor version Ripgrep 0.10.0 last week. It explores features such as PCRE2 support, multi-line search and a JSON output format among other minor updates.

Ripgrep is a command line search tool that recursively searches your current directory for a regex pattern while respecting your gitignore rules. It offers first class support on Windows, macOS, and Linux.

Major Updates


The minimum version which was required to compile Rust has been changed to track the latest stable version of Rust. The new minor versions will be using the current stable version of the Rust compile as its minimum supported version.

Ripgrep 0.10.0 has now got libripgrep which helps with fast searching over arbitrary streams of data.  A new feature offering multi-line support has been added, which allows matching over multiple lines.

There’s another new feature PCRE2 and JSON Lines format. The PCRE2 feature provides support for look-around and backreferences ( match the same text as previously matched by a capturing group ) and JSON lines format makes use of --json flag which helps print results in that format.

Other changes

  • A --one-file-system flag has been added to skip directories on different file systems.
  • Two new minor features namely --sort and --sortr flag have been added for more sorting.
  • --crlf flag is added in Ripgrep 0.10.0 to permit $ to work with carriage returns on Windows.
  • A --null-data flag has been added to ripgrep 0.10.0 that makes ripgrep use NUL as a line terminator.
  • --line-buffered and --block-buffered have been added for forcing a buffer strategy.
  • Unlock access to the largest independent learning library in Tech for FREE!
    Get unlimited access to 7500+ expert-authored eBooks and video courses covering every tech area you can think of.
    Renews at $19.99/month. Cancel anytime
  • A --pre-glob feature has been added for filtering files through the --pre flag.

Bug Fixes

  • A bug in ignore crate, where first path was treated as a symlink, has been fixed in ripgrep 0.10.0.
  • Compile time and runtime CPU features have been added to --version output.
  • ripgrep is more robust now when it comes to memory maps failing.


For more information, check out the official ripgrep 0.10.0 release notes.

Arduino now has a command line interface (CLI)

Command Line Tools for DevOps

Command-Line Tools