]> Sergey Matveev's repositories - nnn.git/commitdiff
Add regex exclude example
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 20 Mar 2020 19:25:46 +0000 (00:55 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 20 Mar 2020 19:25:46 +0000 (00:55 +0530)
nnn.1

diff --git a/nnn.1 b/nnn.1
index eff3f1c46d0a2f6e0ac0de1fe3b8b7f04e6574fe..77b1c5201a098b0475258c441c3946b3d6d2eeca 100644 (file)
--- a/nnn.1
+++ b/nnn.1
@@ -229,6 +229,8 @@ Common regex use cases:
 (2) Type '\\.mkv' to list all MKV files.
 .br
 (3) Use '.*' to match any character (\fIsort of\fR fuzzy search).
+.br
+(4) Exclude filenames having 'nnn' (compiled with PCRE lib): '^(?!nnn)'
 .Pp
 In the \fInavigate-as-you-type\fR mode directories are opened in filter
 mode, allowing continuous navigation. Works best with the \fBarrow keys\fR.