diff options
-rw-r--r-- | Documentation/user-search.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/user-search.txt b/Documentation/user-search.txt index 48d331b74a..55f668e1d2 100644 --- a/Documentation/user-search.txt +++ b/Documentation/user-search.txt @@ -277,6 +277,11 @@ should be double quoted when using more complex construction (like ones using a bracket expression). For example, to match all XML files named like 'name1.xml', 'name2.xml', and 'name3.xml' use `file:"^name[1-3].xml"`. ++ +More examples: +* `-file:^path/.*` - changes that do not modify files from `path/`, +* `file:{^~(path/.*)}` - changes that modify files not from `path/` (but may +contain files from `path/`). [[file]] file:'NAME', f:'NAME':: |