Add denote--file-regexp

This commit is contained in:
Protesilaos Stavrou 2022-06-07 09:40:42 +03:00
parent 60a91fc6ef
commit d57ff29c3b
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -93,6 +93,10 @@ If nil, show the keywords in their given order."
(defconst denote--keyword-regexp "\\(--\\)\\([0-9A-Za-z_+]*\\)\\(--\\)"
"Regular expression to match `denote-keywords'.")
(defconst denote--file-regexp
(concat denote--id-regexp denote--keyword-regexp "\\(.*\\)\\.org")
"Regular expression to match file names from `denote-new-note'.")
(defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"
"Regular expression of punctionation that should be removed.")