diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 12:10:27 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 12:10:27 -0500 |
commit | 598b162fea356249506f4ca5480882564fc3321e (patch) | |
tree | 5f29dbbf2469e748c9fcf342dd11b955871055cc /doc | |
parent | 0222e024fef6c52fc1cd01b6c7ec01ab38031bce (diff) |
Note -e/--regexp's additional usefulness.
Specifically, it can be used when searching for patterns that start
with a dash.
Fixes #215
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rg.1.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/rg.1.md b/doc/rg.1.md index be8c2501..e5036730 100644 --- a/doc/rg.1.md +++ b/doc/rg.1.md @@ -35,7 +35,8 @@ the raw speed of grep. -e, --regexp *PATTERN* ... : Use PATTERN to search. This option can be provided multiple times, where all - patterns given are searched. + patterns given are searched. This is also useful when searching for patterns + that start with a dash. -F, --fixed-strings : Treat the pattern as a literal string instead of a regular expression. |