denote--punctuation-regexp: Forbid usage of slash in filenames

This commit is contained in:
Damien Cassou 2022-06-25 12:39:33 +02:00 committed by Protesilaos Stavrou
parent 84ff0fb674
commit 1f87a456c5
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -227,7 +227,7 @@ is suspended: we use whatever the user wants."
(concat denote--file-title-regexp "\\([0-9A-Za-z_-]*\\)\\(\\.?.*\\)")
"Regular expression to match the entire file name'.")
(defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”]*"
(defconst denote--punctuation-regexp "[][{}!@#$%^&*()_=+'\"?,.\|;:~`‘’“”/]*"
"Regular expression of punctionation that should be removed.
We consider those characters illigal for our purposes.")