summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2020-04-13 08:49:27 -0400
committerAndrew Gallant <jamslam@gmail.com>2020-04-13 08:49:27 -0400
commita75b4d122a479bedf01b571c42c864e199e57ed2 (patch)
tree6803446d86871925aa7f62924eabc6fdf93df096
parentf51b762c6da202247f609bf8494fb82b31f9c285 (diff)
doc: fix newline escape
Fixes #1551
-rw-r--r--crates/core/app.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/app.rs b/crates/core/app.rs
index 8eec24c3..a2c7c3d6 100644
--- a/crates/core/app.rs
+++ b/crates/core/app.rs
@@ -2374,7 +2374,7 @@ Note that PCRE2 is an optional ripgrep feature. If PCRE2 wasn't included in
your build of ripgrep, then using this flag will result in ripgrep printing
an error message and exiting. PCRE2 may also have worse user experience in
some cases, since it has fewer introspection APIs than ripgrep's default regex
-engine. For example, if you use a '\n' in a PCRE2 regex without the
+engine. For example, if you use a '\\n' in a PCRE2 regex without the
'-U/--multiline' flag, then ripgrep will silently fail to match anything
instead of reporting an error immediately (like it does with the default
regex engine).