diff options
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -108,7 +108,8 @@ increases the times to `2.640s` for ripgrep and `10.277s` for GNU grep. * ripgrep has optional support for switching its regex engine to use PCRE2. Among other things, this makes it possible to use look-around and backreferences in your patterns, which are not supported in ripgrep's default - regex engine. PCRE2 support is enabled with `-P`. + regex engine. PCRE2 support can be enabled with `-P` (use PCRE2 always) or + `--auto-hybrid-regex` (use PCRE2 only if needed). * ripgrep supports searching files in text encodings other than UTF-8, such as UTF-16, latin-1, GBK, EUC-JP, Shift_JIS and more. (Some support for automatically detecting UTF-16 is provided. Other text encodings must be |