summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3b4e3e3c..749a0e48 100644
--- a/README.md
+++ b/README.md
@@ -108,8 +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 can be enabled with `-P` (use PCRE2 always) or
- `--auto-hybrid-regex` (use PCRE2 only if needed).
+ regex engine. PCRE2 support can be enabled with `-P/--pcre2` (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