diff options
Diffstat (limited to 'website/docs')
-rw-r--r-- | website/docs/navigation.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/website/docs/navigation.md b/website/docs/navigation.md index 624eb7c..5734f89 100644 --- a/website/docs/navigation.md +++ b/website/docs/navigation.md @@ -60,12 +60,16 @@ To display only files containing `"memmap"`, type `c/memmap`: Simple patterns can be composed with the `!`, `&` and `|` operators. -For example, if you don't want to see files whose name ends in `"rs"`, you may type `!/rs$` (it's the negation of the `/rs$` regular expression). +Examples: -And if you want to see all files containing `"pattern"` but not the rust ones, you'll type `!rs&c/pattern`: +If you don't want to see files whose name ends in `"rs"`, you may type `!/rs$` (it's the negation of the `/rs$` regular expression). + +If you want to see all files containing `"pattern"` but not the rust ones, you'll type `!rs&c/pattern`: ![composite](img/20200620-composite-notrs.png) +If you're looking for a file whose name you don't remember exactly ("rust_test" ? "test-rust" ?), you may type `test&rust` meaning the name contains both "test" and "rust". + # More about searches If you want to know more about the exact pattern syntax, see [reference](../input/#the-filtering-pattern). |