summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-05 14:58:56 -0500
committerKyle Meyer <kyle@kyleam.com>2014-03-05 14:59:39 -0500
commitb9534743818532e110f7946c401c3293b9ecbd57 (patch)
tree34dcbd20d801b79c149649a4495cf4f6ca118f35
parenteb81600573bc27dc83b6c2674a46be554e4ee1bd (diff)
downloadbog-b9534743818532e110f7946c401c3293b9ecbd57.tar.gz
ENH: Allow numbers in title word of citekey
-rw-r--r--bog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index 654341d..987087c 100644
--- a/bog.el
+++ b/bog.el
@@ -39,7 +39,7 @@
:group 'org)
(defcustom bog-citekey-format
- "\\([0-9]*[a-z]+[-a-z]*\\)\\([0-9]\\{4\\}\\)\\([a-z]+\\)"
+ "\\([0-9]*[a-z]+[-a-z]*\\)\\([0-9]\\{4\\}\\)\\([a-z][a-z0-9]*\\)"
"Regex used to match study citekey.
By default, this matches any sequence of lower case