We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68dc980 commit 301a701Copy full SHA for 301a701
zettelkasten.el
@@ -97,7 +97,7 @@ Meant for displaying when searching."
97
98
The note may be formatted with some title, which this function
99
aims to remove."
100
- (string-match (format "[^0-9]*\\(%s\\)" zettelkasten-id-regexp) note)
+ (string-match (format "^\\(%s\\)" zettelkasten-id-regexp) note)
101
(match-string 1 note))
102
103
(defun zettelkasten--format-link (note &optional link-text)
0 commit comments