diff options
Diffstat (limited to 'bog.el')
-rw-r--r-- | bog.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -357,7 +357,7 @@ word constituents." (defun bog-citekey-p (text) "Return non-nil if TEXT matches `bog-citekey-format'." (let (case-fold-search) - (string-match-p (format "^%s$" bog-citekey-format) text))) + (string-match-p (format "\\`%s\\'" bog-citekey-format) text))) (defun bog-all-citekeys () "Return all citekeys in notes." |