diff options
author | jakanakae-envangel <jakanakaevangeli@chiru.no> | 2019-09-01 17:50:36 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-09-02 13:16:28 +0200 |
commit | bb2734a3899aed931390ec16a64c5938cb68277c (patch) | |
tree | 5840cc677133d0945bbfde2fdb454d22e26fde59 | |
parent | 4737c998eb562f014d005898e36a90c2c362d265 (diff) | |
download | ranger-bb2734a3899aed931390ec16a64c5938cb68277c.tar.gz |
man: Regex chars have to be escaped in setlocal
-rw-r--r-- | doc/ranger.1 | 5 | ||||
-rw-r--r-- | doc/ranger.pod | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index 5ce8566a..361ce182 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "RANGER 1" -.TH RANGER 1 "ranger-1.9.3" "2021-09-01" "ranger manual" +.TH RANGER 1 "ranger-1.9.3" "2021-09-02" "ranger manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -1713,7 +1713,8 @@ directory. If no path is given, uses the current directory. .Sp \&\fIpath\fR is a regular expression. This means that \f(CW\*(C`path=~/dl\*(C'\fR applies to all paths that start with \fI~/dl\fR, e.g. \fI~/dl2\fR and \fI~/dl/foo\fR. To avoid this, -use \f(CW\*(C`path=~/dl$\*(C'\fR. +use \f(CW\*(C`path=~/dl$\*(C'\fR. To specify a folder with special characters +(.^$\e*+?(){}[]|), escape them with a backslash. .Sp \&\fIpath\fR can be quoted with either single or double quotes to prevent unwanted splitting. \fIpath='~/dl dl$'\fR or \fIpath=\*(L"~/dl dl$\*(R"\fR diff --git a/doc/ranger.pod b/doc/ranger.pod index 3fdc37d3..5138a15e 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1856,7 +1856,8 @@ directory. If no path is given, uses the current directory. I<path> is a regular expression. This means that C<path=~/dl> applies to all paths that start with I<~/dl>, e.g. I<~/dl2> and I<~/dl/foo>. To avoid this, -use C<path=~/dl$>. +use C<path=~/dl$>. To specify a folder with special characters +(.^$\*+?(){}[]|), escape them with a backslash. I<path> can be quoted with either single or double quotes to prevent unwanted splitting. I<path='~/dl dl$'> or I<path="~/dl dl$"> |