mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-01-19 05:49:14 +02: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 sensitively otherwise.
|
||||
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
|
||||
.RE
|
||||
.TP
|
||||
|
@ -300,7 +300,9 @@ Project home page: https://github.com/BurntSushi/ripgrep
|
||||
-S, --smart-case
|
||||
: Search case insensitively if the pattern is all lowercase.
|
||||
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 results by file path. Note that this currently
|
||||
|
Loading…
x
Reference in New Issue
Block a user