summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-08-21 21:24:02 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-08-21 23:05:52 -0400
commitfcd185303198f9a6c8026e0a632c84bacf36e779 (patch)
tree30ad38e1468ff34cc4c82cb55d44748f302622e1 /src
parent74a89be64110a61972169c4a7f0e44ea2a43b4ec (diff)
doc: update ripgrep's description
This now mentions PCRE2 support.
Diffstat (limited to 'src')
-rw-r--r--src/app.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/app.rs b/src/app.rs
index a776abec..35009fca 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -13,12 +13,13 @@ use clap::{self, App, AppSettings};
const ABOUT: &str = "
ripgrep (rg) recursively searches your current directory for a regex pattern.
-By default, ripgrep will respect your `.gitignore` and automatically skip
-hidden files/directories and binary files.
+By default, ripgrep will respect your .gitignore and automatically skip hidden
+files/directories and binary files.
-ripgrep's regex engine uses finite automata and guarantees linear time
-searching. Because of this, features like backreferences and arbitrary
-lookaround are not supported.
+ripgrep's default regex engine uses finite automata and guarantees linear
+time searching. Because of this, features like backreferences and arbitrary
+look-around are not supported. However, if ripgrep is built with PCRE2, then
+the --pcre2 flag can be used to enable backreferences and look-around.
ripgrep supports configuration files. Set RIPGREP_CONFIG_PATH to a
configuration file. The file can specify one shell argument per line. Lines