From ff39dd23e727d7d0c31535254653a1de7ab4ef1b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 11 Dec 2014 00:00:16 -0500 Subject: Anchor and restrict citekey regular expression Limit the characters that are allowed in the citekey to letters, digits, underscores, and hyphens. This allows the citekey to be treated as a word (temporarily expanding word constituents to include underscore and hyphen), as opposed to explicitly specifying the characters that can come before a citekey. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7260c01..7c453f1 100644 --- a/NEWS +++ b/NEWS @@ -36,6 +36,10 @@ - =bog-goto-citekey-heading-in-buffer= and =bog-goto-citekey-heading-in-notes= will now widen the buffer if the heading is outside of the narrowed region. + +- The format for citekeys is now restricted to letters, digits, + underscores, and hyphens. + - =bog-notes-directory= has been renamed to =bog-note-directory=. * v0.6.0 -- cgit v1.2.3