branch: externals/denote commit 5c400d80d96a7127e6e90b19fa598ea66db9396d Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Document regexp example for file extension --- README.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.org b/README.org index 23b7bff212..838eb099aa 100644 --- a/README.org +++ b/README.org @@ -621,6 +621,10 @@ command: - =^2022.*_journal= match all file names starting with =2022= and including the keyword =journal=. +- =\.txt= match all files including =.txt=. In practical terms, this + only applies to the file extension, as Denote automatically removes + dots (and other characters) from the base file name. + If files are created with ~denote-sort-keywords~ as non-nil (the default), then it is easy to write a regexp that includes multiple keywords in alphabetic order: