branch: externals/denote commit e21db9418e02c9bdc7422d7525845077421ceae3 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Tweak file regexp to read files with no extension --- denote.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote.el b/denote.el index f4451ffd5a..b76a5fe56f 100644 --- a/denote.el +++ b/denote.el @@ -112,7 +112,7 @@ specifiers." "Regular expression to match `denote-keywords'.") (defconst denote--file-regexp - (concat denote--id-regexp denote--keyword-regexp "\\(.*\\)\\..*") + (concat denote--id-regexp denote--keyword-regexp "\\(.*\\)\\.?.*") "Regular expression to match file names from `denote-new-note'.") (defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"