mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -07:00
Add note about --smart-case smartness
This commit is contained in:
parent
86c890bcec
commit
162e085b98
3
doc/rg.1
3
doc/rg.1
@ -457,6 +457,9 @@ Overrides \-\-ignore\-case and \-\-smart\-case.
|
|||||||
Search case insensitively if the pattern is all lowercase.
|
Search case insensitively if the pattern is all lowercase.
|
||||||
Search case sensitively otherwise.
|
Search case sensitively otherwise.
|
||||||
This is overridden by either \-\-case\-sensitive or \-\-ignore\-case.
|
This is overridden by either \-\-case\-sensitive or \-\-ignore\-case.
|
||||||
|
Note: This feature is smart enough to treat simple classes like \\S as
|
||||||
|
lowercase, but may not handle more complex syntax like \\p{Ll} as
|
||||||
|
expected.
|
||||||
.RS
|
.RS
|
||||||
.RE
|
.RE
|
||||||
.TP
|
.TP
|
||||||
|
@ -300,7 +300,9 @@ Project home page: https://github.com/BurntSushi/ripgrep
|
|||||||
-S, --smart-case
|
-S, --smart-case
|
||||||
: Search case insensitively if the pattern is all lowercase.
|
: Search case insensitively if the pattern is all lowercase.
|
||||||
Search case sensitively otherwise. This is overridden by either
|
Search case sensitively otherwise. This is overridden by either
|
||||||
--case-sensitive or --ignore-case.
|
--case-sensitive or --ignore-case. Note: This feature is smart enough
|
||||||
|
to treat simple classes like \\S as lowercase, but may not handle more
|
||||||
|
complex syntax like \\p{Ll} as expected.
|
||||||
|
|
||||||
--sort-files
|
--sort-files
|
||||||
: Sort results by file path. Note that this currently
|
: Sort results by file path. Note that this currently
|
||||||
|
Loading…
x
Reference in New Issue
Block a user